Inheritance in selenium webdriver using testng
package user; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.Test; import org.testng.annotations.BeforeTest; public class Login { public WebDriver driver; @Test public void Signin() throws Exception { driver.manage().window().maximize(); Thread.sleep(5000); driver.navigate().refresh(); driver.findElement(By.xpath("//div[@id='header']/div/div/ul/li[6]/a")).click(); driver.findElement(By.id("Email")).sendKeys("[email protected]"); driver.findElement(By.id("password")).sendKeys("123456"); driver.findE
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.