Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I'm currently using Selenium WebDriver to automate testing for Windchill, and I'm running into a problem. When the authentication window pops up, it pops up as an alert. Since it pops up as an alert, I can't automate the input of the username and password. There's no functions that allow for it. Any tips on how to fix this? I'm using Selenium 3, Java 8 and Firefox 45.
It's problem of selenium WebDriver.
I use TestNg + selenium(InternetExplorerDriver) + jautoitx(autoit in java)
Before driver.get(windchillBaseUrl) run Thread WindowLogin wait for arlet (Login) set username, set password and push Enter. Wait for load home page then go tests.
Simple,
Sent username and Password along with WindChill URL. I have done a similar kind of things in my past.
If you cannot get in the above method then Set UserName and Password in a Local Credential Manager Temporarily. It will directly land you inside the WindChill site whenever you navigate to Windchill Site in browser
Kind Regards,
Dinesh