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.

Unable to Run Script on different Browser

sandeepgautam43sandeepgautam43 Members
edited November -1 in Sahi - Open Source
I recorded a sahi script on IE8. When i execute it on Firefox 5 , Chorme and Safari the script not recognize the text fields. while script is working fine with IE8.

Reagrds,
Sandeep Gautam

Comments

  • Hi sandeepgautam43,

    What version of Sahi are you using?

    Are you getting any error while running the scripts on other browsers?

    Can you Ctrl+Hover on the text fields and try to set a value from controller on FF5.

    Regards
    sumitra
  • how to continue automation in a failed situation

    I run the script,but failed on due to change the name of text box,how to continue for next line?
  • Hi sandeepgautam43,

    Check what the accessor field is identified as and use regular expression for the name of the text box which remains constant.

    Can you post the name of the text box which is changing?

    Can you post the URL and the script you have recorded on IE8.

    Regards
    Sumitra
  • Sumitra ,

    My question is.

    I have Parametrised script: module A,B ,C

    Suppose I run the Script, its fail on module B, how to jump on module C without stop the script.
    I want to Continue this Script at the end of the Result.
  • Hi sandeepgautam43,

    Kindly follow the below link:

    http://sahi.co.in/forums/viewtopic.php?id=2443

    Let me know if this solves your issue.

    Regards
    Sumitra
  • Sumitra,

    In this topic (http://sahi.co.in/forums/viewtopic.php?id=2443) Tester Know the line where scripts is fail.
    Here, before run the sanity script don't know which function is change in the build.
  • Hi sandeepgautam43,

    You can use:

    _setRecovery(fn); Include this API in module B and if there is any script failure in B module it will call module C.

    For more Details about _setRecovery() API:

    http://sahi.co.in/w/_setrecovery-recovering-from-a-scenario-without-try-catch

    Regards
    Sumitra
  • Thanks!

    Sumitra....
This discussion has been closed.