Error is specified below while performing the action.
Picked up JAVA_TOOL_OPTIONS
: -agentlib:jvmhook
Picked up _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");
}
}
}