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.

Browser.navigateTo(local file)

DwarFDwarF Members
edited November -1 in Sahi - Open Source
Howdy,

First off, Sahi is rockin though some testing scenarios that have been very challenging for other platforms. It's a very well done tool - thank you.

I'm having a pretty trivial issue with it at the moment. I am using the Java api because we have a lot of beforehand setup and post UI manipulation validation that needs to be accomplished.

One of the things the post UI manipulation validation does is write a report file. The report is only interesting if things fail. When they do, I'd like to just nav the browser to the report. I'm trying Browser.navigateTo("file:///c:/temp/xxx");

When this call is made, the browser doesn't change URL paths, nothing shows up in the log, it just seems to pause indefinitely. Typing that directly into the browser Shai is usuing works just fine.

Thanks for any advice and thanks for such an awesome tool!

Comments

  • Hello DwarF
    You post this problem over one year ago and now I have the same problem. I'm new in sahin and we test currently the tool for our company to set up an Webapplication End2End monitoring.

    Did you solved the problem or find a solution?
    My script must open at the beginning a local streamin file (Stream1.html) this file push some data to a webapplication and after that it redirect me to the login of the application.
    So, if you find a way to start the testscript with a local file as start-url, please give a short description.
    Thanks

    Kind Regard
Sign In or Register to comment.