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.
Get start URL
Hi everyone!
Is there a way to get the start url of the tests? I'm talking about the Start url of the Playback tab and the urls inside a suite file.
Thank you all!
Is there a way to get the start url of the tests? I'm talking about the Start url of the Playback tab and the urls inside a suite file.
Thank you all!
Comments
_navigateTo("your url")
at the start of script should take you to that url. Would that help?
But I also have a another suite called MySahi2.suite that uses the same sahi script but with a different start url: Test.sah http//anotherUrl.com
Now, inside the Test.sah I have to code something like this:
if(startUrl == "http//myurl.com")
{
_navigateTo("bcoelho2000.blogspot.com");
}
else if(startUrl == "http//myurl.com")
{
_navigateTo("http://sahi.co.in"
}
Best regards,
Bruno Coelho
Regards,
Narayan