18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
How To Work On Window Based application Usinh SAHI..
Hi Team,
I have developed simple html and Jsp web page. i want to automate it, but i am not able to automate the page, i just want to automate simple html web page ...
when ever i try to open the web page but i got below error in console...
_navigateTo("http://C:\\Users\\sandeep_ss\\Desktop\\HtmlExample.html"
;
uncaught exception: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIDOMLocation.href]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: [url]http://sahi.example.com/_s_/spr/concat.js[/url] :: <TOP_LEVEL> :: line 1851" data: no] (:)
--Stopped Playback: SUCCESS--
Please help me out on this...
Regards,
Sandeep S S
I have developed simple html and Jsp web page. i want to automate it, but i am not able to automate the page, i just want to automate simple html web page ...
when ever i try to open the web page but i got below error in console...
_navigateTo("http://C:\\Users\\sandeep_ss\\Desktop\\HtmlExample.html"
uncaught exception: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIDOMLocation.href]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: [url]http://sahi.example.com/_s_/spr/concat.js[/url] :: <TOP_LEVEL> :: line 1851" data: no] (:)
--Stopped Playback: SUCCESS--
Please help me out on this...
Regards,
Sandeep S S
Comments
You need to access the web page via http. Put your files behind a web server and then access it.
Regards,
Narayan
Thanks for your reply is it not possible to automate web page from sahi when there were no server available to host the application.
Regards,
Sandeep S S
Sahi uses an http proxy and can understand http requests and responses. So, yes, you will have to use a web server for your application. You can install the server locally. You can download one here
Regards,
dkulkarni