Mod-16 Login screen does not open even though the login button is clicked on httppaytmcom | Selenium Forum
V
Viji Medithi Posted on 07/01/2019

Login screen does not open even though the login button is clicked on http://paytm.com . The script executes and passes the script but the login frame does not open.

please view the script below. pls help me resolve this issue.

 

public void handlingFrames() throws Exception{

System.setProperty("webdriver.gecko.driver", "/viji/seleniumServers/geckodriver");

driver = new FirefoxDriver();

driver.manage().window().maximize();

driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);

driver.get("http://paytm.com");

String test = driver.findElement(By.xpath("//div[@class='_1Vt1']")).getText();

System.out.println(test);

Actions mouseover = new Actions(driver);

mouseover.moveToElement(driver.findElement(By.xpath("//div[text()='Log In/Sign Up']"))).click();

Thread.sleep(6000);

int totlalFrames = driver.findElements(By.tagName("iframe")).size();

System.out.println(totlalFrames);

driver.switchTo().frame(0);


V
Viji Medithi Replied on 07/01/2019

Please ignore this the issue is resolved


A
Ashish Thakur Replied on 09/01/2019

ok