I have to create a demo for a new web-application using Selenium Webdriver Java, this demo is being created for a client meeting (as to show him, compatibility of Selenium with their application). But my bad luck I got stuck on the very login page. I have to use client provided machine for this (so I am not the administrator of the system).
The issue is when I try to log in manually, I am able to log in without any problem, but when I fire the same steps using Selenium Webdriver, it is hitting the login button but processing stops after 1-2 seconds (tried many times).
In place of
.click(), I have tried
Also, I have tried launching Firefox with different user profiles too like this
ProfilesIni profile = new ProfilesIni(); FirefoxProfile myprofile = profile.getProfile("abc.Default User"); WebDriver driver = new FirefoxDriver(myprofile);
but these solutions are not working. I tried the same kind of scripting on other applications (like Gmail, Flipkart etc.) and they are working fine.
- Even after using a different profile (as mentioned in the mode above), Firefox instance launched by Selenium is different then when it is manually launched. But I have tried with different profiles.
- Have tried after converting Selenium IDE code into the WebDriver but still same issue.