18 January 2026:


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.

Problem faced while using testrunner.bat (in Sahi V3.5) for execution

Akss004Akss004 Members
edited November -1 in Sahi - Open Source
Hi Narayan,
Usage: testrunner.bat <sah file|suite file> <startURL> <browserType>
File path is relative to userdata/scripts
Example:
testrunner.bat demo/demo.suite http://sahi.co.in/demo/ firefox
testrunner.bat demo/sahi_demo.sah http://sahi.co.in/demo/ ie

This is great. This will really helpful with my project. But i m getting some problem while using this. Its start execution with given browser.
But where i am trying to navigate to "http: some URL" TO "https: some URL" . Execution is not proceed further and i can found some error like rhino server didnot respond for 150 seconds.
Here note that i have accepted certificate for https site and the same is working fine while executing it from browser's sahi controler. Problem comes only while using it from CMD.

Do we need to do any external settings or configuration with this BATCH file while using it with HTTPS protocol?

Comments

  • That you accepted the certificates in the profile you are using with the controller doesn't equal that the certificate is accepted with the profiles Sahi uses for testsuites. Please run a test from CMD and when you are at the https site, go to the SSLManager and check if every needed certificate is installed.
  • narayannarayan Administrators
    Hi Akash and globalworming

    With V3.5, certificates accepted on Firefox's profile 0 (from the dashboard), are automatically copied over to other profiles. So it should work correctly.

    Are we dealing with IE or Firefox?

    Regards,
    Narayan
  • Hi Narayan,

    Right now i m dealing with FireFox and i am getting this issue.

    But in near by future we are planing to add option for selecting browser so we add this two IE and Chrome as well with out current implementation.
  • Hi narayan,

    Is there any update on this??

    Here i have tried with few other Demo Scripts which having Navigation to "Https" from "Http" but facing same problem.... So can you check this thing?

    Any other things need to be configured for this kind of scripts to getting executed from "testrunner.bat" from command prompt??
  • Hello Narayan,

    Any Update on this issue????

    Is there any work around??
  • narayannarayan Administrators
    Hi Akash,

    Let us do a desktop sharing session, and see what is going wrong. Please send an email to support@sahi.co.in and we will set it up for the evening today.

    Regards,
    Narayan
Sign In or Register to comment.