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.
Https Command Line Problems
Whenever I attempt to run a test at an https site from command line; it doesn't work. The browser I run it in is Firefox 3.5 and the site is [url]https://www_forge.mil[/url] (though it has shown the same error with other https sites). If I run the https test from the Sahi controller, there isn't a problem and if I run an http test from the controller or the command line it runs fine. Here are the different files I use:
forgetest.sah:
foregesuite.suite:
ff_forgetest.bat: (It is one line in the file, I broke it up for ease of reading)
Any help would be appreciated. If you think that it would run better in ant, I have downloaded it but I'm struggling with getting the path and/or classpath to "org.apache.xmlrpc.XmlRpcException" right, so if you could help me with that, it would also be great.
Thanks,
Blake
forgetest.sah:
function forgeTest() {
_click(_link("What is the Forge.mil Program?"));
_click(_cell(_table(0), 2, 0));
_click(_link("How can I get access to Forge.mil?"));
_click(_cell(_table(0), 5, 0));
_click(_cell(_table(0), 5, 0));
_assertExists(_link("Who do I contact to get more information?[1]"));
_click(_cell(_table(0), 5, 0));
_click(_cell(_table(0), 4, 0));
_click(_link("Information Assurance Support Environment"));
_click(top.document.getElementsByTagName('div')[7]);
_assertExists(_image("DoD PKI"));
}
forgeTest();
foregesuite.suite:
forgetest https://www.forge.mil
ff_forgetest.bat: (It is one line in the file, I broke it up for ease of reading)
java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner
"C:\sahi_20090715\sahi\scripts\forgetest.suite"
"C:\Program Files\Mozilla Firefox\firefox.exe"
http://localhost
default
localhost
9999
1
firefox.exe
"-profile C:\sahi_20090715\sahi\browser\ff\profiles\sahi$threadNo -no-remote"
Any help would be appreciated. If you think that it would run better in ant, I have downloaded it but I'm struggling with getting the path and/or classpath to "org.apache.xmlrpc.XmlRpcException" right, so if you could help me with that, it would also be great.
Thanks,
Blake