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.
iexplore not getting lunched from eclipse
Browser : IE 11
OS : WIN 7
I am evaluating Sahi Pro, I am getting following issue... Can any one look into it... Its urgent...
package demo;
import net.sf.sahi.Proxy;
import net.sf.sahi.client.Browser;
import net.sf.sahi.config.Configuration;
public class BaseTestCase {
protected Browser browser;
protected Proxy proxy;
protected boolean isProxyInSameProcess = false;
protected String browserType = "iexplore";
public void createConn() throws Exception {
Configuration.initJava("C://SahiPro", "C://SahiPro/userdata/");
if (isProxyInSameProcess) {
proxy = new Proxy();
proxy.start(true);
}
browser = new Browser(this.browserType);
browser.open();
}
public void delConn() throws Exception {
browser.setSpeed(100);
browser.close();
if (isProxyInSameProcess) {
proxy.stop();
}
public void login(){
browser.navigateTo("www.google.com");
}
package demo;
public class test4demo extends BaseTestCase {
public static void main(String args[]) throws Exception
{
BaseTestCase b1 = new BaseTestCase();
b1.createConn();
b1.login();
b1.delConn();
}
}
Console output
Sahi properties file = C:\SahiPro\config\sahi.properties
Sahi user properties file = C:\SahiPro\userdata\config\userdata.properties
Exception in thread "main" error:Playback session not started. Verify that proxy is set on the browser.
at net.sf.sahi.client.Browser.executeStep(Browser.java:223)
at net.sf.sahi.client.Browser.navigateTo(Browser.java:175)
at net.sf.sahi.client.Browser.navigateTo(Browser.java:164)
at demo.BaseTestCase.login(BaseTestCase.java:32)
at demo.test4demo.main(test4demo.java:11)
Above is the issue i am facing.. can anyone look into this....
OS : WIN 7
I am evaluating Sahi Pro, I am getting following issue... Can any one look into it... Its urgent...
package demo;
import net.sf.sahi.Proxy;
import net.sf.sahi.client.Browser;
import net.sf.sahi.config.Configuration;
public class BaseTestCase {
protected Browser browser;
protected Proxy proxy;
protected boolean isProxyInSameProcess = false;
protected String browserType = "iexplore";
public void createConn() throws Exception {
Configuration.initJava("C://SahiPro", "C://SahiPro/userdata/");
if (isProxyInSameProcess) {
proxy = new Proxy();
proxy.start(true);
}
browser = new Browser(this.browserType);
browser.open();
}
public void delConn() throws Exception {
browser.setSpeed(100);
browser.close();
if (isProxyInSameProcess) {
proxy.stop();
}
public void login(){
browser.navigateTo("www.google.com");
}
package demo;
public class test4demo extends BaseTestCase {
public static void main(String args[]) throws Exception
{
BaseTestCase b1 = new BaseTestCase();
b1.createConn();
b1.login();
b1.delConn();
}
}
Console output
Sahi properties file = C:\SahiPro\config\sahi.properties
Sahi user properties file = C:\SahiPro\userdata\config\userdata.properties
Exception in thread "main" error:Playback session not started. Verify that proxy is set on the browser.
at net.sf.sahi.client.Browser.executeStep(Browser.java:223)
at net.sf.sahi.client.Browser.navigateTo(Browser.java:175)
at net.sf.sahi.client.Browser.navigateTo(Browser.java:164)
at demo.BaseTestCase.login(BaseTestCase.java:32)
at demo.test4demo.main(test4demo.java:11)
Above is the issue i am facing.. can anyone look into this....
Answers