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.
Java test driver
Hi
I have extended SahiTestCase, but I'm having some wierd issues. First of all when setUp() gets called it invokes the browser which is poiting to Sahi internal URL (Driver_start? etc)
why is it doing this? I need to invoke my test app URL.
Second, even after I type my app URL in the text box and test is running I don't see any actions on my test app even though it completes with success.
I’m currently evaluating Sahi and Selenium. I have strong preference towards Sahi for a number of reasons, but this issues really concerns me.
Please help.
I have extended SahiTestCase, but I'm having some wierd issues. First of all when setUp() gets called it invokes the browser which is poiting to Sahi internal URL (Driver_start? etc)
why is it doing this? I need to invoke my test app URL.
Second, even after I type my app URL in the text box and test is running I don't see any actions on my test app even though it completes with success.
I’m currently evaluating Sahi and Selenium. I have strong preference towards Sahi for a number of reasons, but this issues really concerns me.
Please help.
Comments
thanks
The start URL will point to sahi.example.com which is a dummy domain. Sahi needs it to run its tests.
Your problem is because the proxy has not been set on the browser. If you set the proxy on the browser, the test should run fine. Sahi automatically sets the proxy for Firefox but not of Internet Explorer. Let us know if you still face issues.
Regards,
Narayan
browser.cell("Alexfunky.net").doubleClick();
browser.waitFor(10000);
browser.popup("docViewWindow").image("View next document").click();
Basically when browser.cell("").doubleClick() is called the popup (which is a new browser instance) never rendered, it looks like it's frozen. Please let me know what to do about this.
Thanks in advance.
Please check that popup blockers are turned off on the browser.
It is also possible that the doubleClick is actually on a link or something inside the cell. If not, we will need to look at why this is happening. If you can, please email the url and steps to reproduce to support@sahi.co.in, and we will have a look at it.
Regards,
Narayan
Felix
Something else I think I need to add. Pop up blocker is OFF. I also do the following from my initial test class:
proxy = new Proxy();
proxy.start(true);
And one more , both commented out options, when not commented, caused my test not to run at all. I think that was the problem I originally reported. Once I changed it to "" it worked.
// browserOption = "-noframemerging";
// browserOption = "-nomerge";
browserOption = "";