-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi i am using below code. it is throwing error like in subject
`public class NewTest {
//public WebDriver driver;
//Recheck re;
RecheckDriver driver;
@BeforeClass
public void setup() {
//re = new RecheckImpl();
System.setProperty("webdriver.chrome.driver", "/Users/prkotagi/Downloads/chromedriver");
DesiredCapabilities Capa = DesiredCapabilities.chrome();
ChromeOptions options = new ChromeOptions();
Capa.setBrowserName("chrome");
Capa.setCapability(ChromeOptions.CAPABILITY, options);
//Capa.setCapability(ChromeOptions.CAPABILITY, options);
Capa.setCapability(CapabilityType.PLATFORM, Platform.ANY);
Capa.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);
Capa.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
//driver = new ChromeDriver(Capa);
driver = new RecheckDriver( new ChromeDriver(Capa) );
//re.startTest("test-name");
}
@test
public void login() {
driver.get("http://slc10gst.us.oracle.com:22387/fabs/");
// driver.findElement(By.name("internalSSOUserId")).sendKeys("prasanth.kotagiri@oracle.com");
// re.check( driver.findElement(By.tagName( "html" ) ), "init" );
driver.findElement(By.xpath("//input[@value='Get Started !!']")).click();
}
@afterclass
public void quit() {
driver.quit();
// re.cap();
}`
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working