Differences

This shows you the differences between two versions of the page.

Link to this comparison view

power-agent:project-1:sahi [13/05/2015 11:56]
mathiasvandewalle [Reports]
power-agent:project-1:sahi [13/05/2015 12:04] (current)
mathiasvandewalle [Mobile]
Line 536: Line 536:
  
 ==== Mobile ==== ==== 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>