Skip to main content
5-Regular Member
February 27, 2017
Question

Windchill Authentication Alert and Selenium WebDriver

  • February 27, 2017
  • 2 replies
  • 2845 views

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

12-Amethyst
February 21, 2018

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.

1-Visitor
October 25, 2019

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