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 for second time in same script does not work.
I have written a script with a flow like
1-user1 will login perform some actions
2-user1 log out
3-user should login and perfom some actions but there is a problem at this step sahi does not fire credentials of user2 to the browser and go to hanged state however when i refresh the page manually it fires the user2 credentials to fix this i used "_navigateTo("http://localhost:8080/Callisto/login",true);" in my script this was of no help.
I am very sure that this was working fine before with me, i am using latest edition of sahi OS version download.
Please suggest a solution to this problem.
1-user1 will login perform some actions
2-user1 log out
3-user should login and perfom some actions but there is a problem at this step sahi does not fire credentials of user2 to the browser and go to hanged state however when i refresh the page manually it fires the user2 credentials to fix this i used "_navigateTo("http://localhost:8080/Callisto/login",true);" in my script this was of no help.
I am very sure that this was working fine before with me, i am using latest edition of sahi OS version download.
Please suggest a solution to this problem.
Answers
Assuming that the test fails eventually, what is the error that you get in the logs?
Regards.
Log says time out
The log says ERROR [150716 ms] [12:13:21.292]
Step >_sahi._click(_sahi._div("test"))< did not complete in 150 seconds.
Is the problem specific to some browser (ie) or does it show the same behavior or all the browsers?
Regards.
Sahi OS was released on 2013-04-29 and it is a little outdated as far as several bugfixes are concerned. Can you try it using Sahi Pro latest release and let me know whether you face the same issue there as well or not? The bugfixes I am referring to will be included in the next Sahi OS release.
You can download Sahi Pro from the following URL:
http://sahi.co.in/download-sahi-pro/
Regards,
Pratyush
Please suggest solution for this, as it is a critical one for our automation.
Can you provide me with the script and the webpage it runs on so that I can reach the same error on my end?
Regards,
Pratyush