执行操作时在下面指定错误。
捡到JAVA_TOOL_OPTIONS
:-agentlib:jvmhook
捡到_JAVA_OPTIONS
:-Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\HPE\LeanFT\bin\java_shared\classes";"C:\Program Files (x86)\HPE\LeanFT\bin\java_shared\classes\jasmine.jar"
public class LeanFtTest {
@Before
public void init(){
try {
ModifiableSDKConfiguration config = new ModifiableSDKConfiguration();
config.setServerAddress(new URI("ws://localhost:5095"));
SDK.init(config);
}catch (Exception ex){
System.out.println("Exception occured " + ex.toString());
}
}
@Test
public void test() throws GeneralLeanFtException {
Browser browser = BrowserFactory.launch(BrowserType.CHROME);
try {
browser.navigate("https://www.google.co.in/");
browser.sync();
} catch (Exception e) {
System.out.println("error in navigation");
}
}
}