18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
login prompt window (how to populate the "username" and "password")
When I click on a button, a login prompt pops up labeled ip of the server.
_expectPrompt("Connect to 10.100.20.3", "The server is ready");
_click(_link("mine");
//--Need to populate the username field
//--Need to populate password field
_click(_button("Ok")); ----then click on "Ok" button to login
even if I don't populate the fields I should still be able to click on the "Ok" button
this prompt could be termed as java script generated
_expectPrompt("Connect to 10.100.20.3", "The server is ready");
_click(_link("mine");
//--Need to populate the username field
//--Need to populate password field
_click(_button("Ok")); ----then click on "Ok" button to login
even if I don't populate the fields I should still be able to click on the "Ok" button
this prompt could be termed as java script generated
Comments
Could you elaborate the problem better? Not sure where you are facing a problem.
User has to input username and password and click on a check box "to remember the password"
how do I pass control from the main site to the login pop up window??
I have a secure login which I don't have to enable if that what it takes.
Secure authentication will be used on a later page to access the server.