Differences
This shows you the differences between two versions of the page.
|
power-agent:project-1:sahi [11/05/2015 10:00] mathiasvandewalle [Install] |
power-agent:project-1:sahi [13/05/2015 12:04] (current) mathiasvandewalle [Mobile] |
||
|---|---|---|---|
| Line 79: | Line 79: | ||
| \\ on **MAC** | \\ on **MAC** | ||
| \\ **start** sahi with \sahi_pro\userdata\bin\start_dashboard.sh | \\ **start** sahi with \sahi_pro\userdata\bin\start_dashboard.sh | ||
| - | \\ Add **license** to sahi_pro\userdata\config | + | \\ Add **license** to \sahi_pro\userdata\config folder |
| ==== Dashboard ==== | ==== Dashboard ==== | ||
| {{:power-agent:project-1:sahi_dashboard.png?direct&100|}} The Sahi Dashboard automatically starts the Sahi proxy and lets you start your configured browsers. | {{:power-agent:project-1:sahi_dashboard.png?direct&100|}} The Sahi Dashboard automatically starts the Sahi proxy and lets you start your configured browsers. | ||
| Line 535: | Line 535: | ||
| \\ You can also make custom reports. | \\ You can also make custom reports. | ||
| + | ==== Mobile ==== | ||
| + | configure sahi proxy https://sahipro.com/docs/using-sahi/playback-mobile.html | ||
| + | \\ | ||
| + | \\ Use the safari debug tools. | ||
| + | \\ Because the app uses a local file for the app the proxy is not used. | ||
| + | \\ | ||
| + | \\ We will need to change the location to your webserver and run the tests. | ||
| + | \\ change the location to your proxy ex.: ''location.href = "http://192.168.4.6:9999";'' | ||
| + | \\ Now you see the sahi start page where you can insert the test you want to run and the url of you webserver. | ||
| + | \\ you can also use the command line to start the test. | ||
| + | <code java>$("filebox").value = "mobile/test3.sah"; | ||
| + | $("starturl").value = "http://192.168.4.6:8080/Finanzanalyse.app/www"; | ||
| + | launch(); | ||
| + | |||
| + | OR | ||
| + | _sahi.sendToServer("_s_/dyn/Player_setScriptFile?dir=C%3A%2FUsers%2Fmathias%2Fsahi_pro%2Fuserdata%2Fscripts%2F&file="+"mobile/test3.sah"+"&starturl="+"http://192.168.4.6:8080/Finanzanalyse.app/www"+"&manual=0"+"&browserType=Netscape"); | ||
| + | _sahi.setServerVar("sahi_paused", "0");</code> | ||