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 use "navigateTo" as a first line of my script

jaganjagan Members
edited November -1 in Sahi - Open Source
I was unable to use "navigateTo" as a first line of my script
when I tried this I got "--Stopped Playback: FAILURE--" error
but I was able to reuse the script with few statements which follows it
example script:
************
_navigateTo("valid url");
//here it is not working
/*_setValue(_textbox("username"), "admin");
_wait(1000);
_setValue(_password("pwd"), "pathway");
_click(_imageSubmitButton("login.gif"));
_click(_link("Logout"));
//here it is working
_navigateTo("valid url");*/

Comments

  • Hi jagan

    is the Browser navigating to the desired URL or does the _navigateTo just won't get executed?
    If (the browser  is navigating to the URL) {
       if (the URL is an https:// ) {
          // you may have to add certifikates, see  http://sahi.co.in/w/https-ssl 
        }
    } else {
        // please provide more information :)
    }
    
Sign In or Register to comment.