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.

Trouble shoot using try catch method

manumaheshmanumahesh Members
edited November -1 in Sahi - Open Source
Hi Narayan,

I have an issue like:
There is an JS error in our application but will move to the next pages without stopping in between
but at the same place using Sahi controller it is not going to the next screen and manually we need to click in the application for further actions
Is there any way to trouble shoot using try catch method and please provide me the script to avoid JS errors

thanks in advace
Srikanth

Comments

  • narayannarayan Administrators
    Srikanth,

    Ideally Sahi should not have stopped execution and should have gone ahead. I think it is a bug in Sahi that it is not going ahead. Can you show us what the error is so that we can reproduce and fix it asap?

    Regards,
    Narayan
  • Hi Narayan,

    Error was displaying on status bar as 'Error on page' and when we double click on that it opens the IE popup and details are:

    Line: 55
    char; 17
    error:Object expected
    Code:0
    URL; Our applications URL will be displayed

    Can you please look into this and tell us whether it is related with application/sahi issue

    regards,
    Srikanth
Sign In or Register to comment.