How to handle popup in selenium webdriver
In this video you will learn how to handle popup in selenium, handle hidden division popup in selenium, test popup in software testing
===== selenium script =====
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Popup
{
public static void main(String[] args) {
WebDriver driver=new FirefoxDriver();
driver.manage().window().maximize(); driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get(" http://yatra.com");
driver.findElement(By.id("BE_flight_depart_date")).click();
driver.findElement(By.id("a_2015_5_1")).click();
}
}
------------------------------------------------------------------------------------------------------------
Please subscribe us:
https://www.youtube.com/c/EasyTutoria...
Like us on Facebook:
https://www.facebook.com/EasyTutorial...
In this video you will learn how to handle popup in selenium, handle hidden division popup in selenium, test popup in software testing
===== selenium script =====
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Popup
{
public static void main(String[] args) {
WebDriver driver=new FirefoxDriver();
driver.manage().window().maximize(); driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get(" http://yatra.com");
driver.findElement(By.id("BE_flight_depart_date")).click();
driver.findElement(By.id("a_2015_5_1")).click();
}
}
------------------------------------------------------------------------------------------------------------
Please subscribe us:
https://www.youtube.com/c/EasyTutoria...
Like us on Facebook:
https://www.facebook.com/EasyTutorial...
How to handle popup in selenium webdriver | calendar popup | |
3 Likes | 3 Dislikes |
4,889 views views | 57,381 followers |
Education | Upload TimePublished on 28 Apr 2015 |
No comments:
Post a Comment