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.

run test from VB GUI

alamoonalamoon Members
edited November -1 in Sahi - Open Source
can i open a browser and run a test from a VB GUI?

Comments

  • narayannarayan Administrators
    Hi Alamoon,

    Curious to know why you need that.

    Regards,
    Narayan
  • the user should give the search parameters via a gui (VB), the interface should tart the sahi script (what works good :-)), and the results (pdf files) should be written in the .net database
    :-))
  • if you have an other solution please tell me
  • narayannarayan Administrators
    No, was just curious. :) If you are selling a product with Sahi, do consider a partnership!

    In the latest release, have a look at userdata\bin\ff.bat and ie.bat. You can pass a script name (which should be inside the scripts folder) and it will run that single test.

    So it would look something like:

    ff.bat login.sah
    or
    ie.bat login.sah

    Change the browser paths etc to the correct path on your system.

    Regards,
    Narayan
  • no it's not for ceiling just an internet research automation :-)
  • should i give my testname in the "suite file"?
  • i started the batch and got :

    "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

    i did the changes of : http://sahi.co.in/forums/viewtopic.php?id=1263
    but the same failure:-((
  • can anyone help please
  • narayannarayan Administrators
    Your browser profile path is incorrect.

    In ff.bat, set BROWSER_OPTION correctly:
    SET BROWSER_OPTION=-profile D:/Full/path/to/userdata/browser/ff/profiles/sahi$threadNo -no-remote

    Change D:/Full/path/to/userdata to the correct path.
Sign In or Register to comment.