cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Windchill Authentication Alert and Selenium WebDriver

mluberti
4-Participant

Windchill Authentication Alert and Selenium WebDriver

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.

2 REPLIES 2

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.

ddhini
14-Alexandrite
(To:mluberti)

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

Top Tags