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.
Mobile Web Testing
Is it possible to play a test script from mobile browser through sahi proxy ?
I am playing with idea if it is possible to do some mobile web testing on the real mobile device (iOS, Android, Symbian, Windows Mobile, ...) on its browser - by setting its proxy to sahi and launching some URL - to load and play a test script in the context of that device not in the "context of sahi proxy"?
I thing that SAHI Controller does something similar when we select script file and click Play button - controller sends command to SAHI proxy by URL like "/_s_/dyn/Player_start".
Thanks for any ideas how to do mobile web testing with SAHI on real devices.
Stefan Kerti
P.S.: I know there is a guide "running-sahi-on-android" but this is an emulator example and I am looking for something else ...
I am playing with idea if it is possible to do some mobile web testing on the real mobile device (iOS, Android, Symbian, Windows Mobile, ...) on its browser - by setting its proxy to sahi and launching some URL - to load and play a test script in the context of that device not in the "context of sahi proxy"?
I thing that SAHI Controller does something similar when we select script file and click Play button - controller sends command to SAHI proxy by URL like "/_s_/dyn/Player_start".
Thanks for any ideas how to do mobile web testing with SAHI on real devices.
Stefan Kerti
P.S.: I know there is a guide "running-sahi-on-android" but this is an emulator example and I am looking for something else ...
Comments
What you suggest is possible.
To make Sahi work on iPad, do the following:
Run Sahi Pro on a machine (Windows/Mac/Linux) such that the iPad can access the machine using its IP or machine name.
On iPad, do the following
1) Settings -> General -> Network -> Wi-Fi -> The blue arrow near your network -> HTTP Proxy -> Manual
Server: 10.10.1.100 (IP of machine where Sahi is running. You can find this by running ipconfig on a command prompt)
Port: 9999
Authentication: Off
2) Settings -> Safari -> Accept Cookies = Always
3) Navigate to http://10.10.1.100/_s_/sprm/launch.htm (Change to correct IP)
4) Give Script path and Start URL and click Run
Note that step 2 is very important for the testcase to run.
Hope that helps.
Regards,
Narayan