Current time: 10-20-2017, 10:34 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use script,API not available
09-15-2017, 12:06 PM
Post: #1
use script,API not available
launch server:
bash ./wptdriver.sh -m debug --browser android:deviceName --serverUrl "private instance url" --location AndroidLocation --processvideo yes &

batch_tool script:
python ./wpt_batch.py -s "private instance server url" -i ./urls.txt -f ./result -o AndroidLocation -c ./script.txt

two script.txt:
1.script.txt:
navigate http://m.baidu.com
execAndWait document.getElementById('login').click()
sleep 5

2.script.txt:
logData 0
navigate https://m.baidu.com/
logData 1
clickAndWait id=login

two script run result:
1.navigate is ok, open test url on android chrome
2.execAndWait / clickAndWait not running

why?please help me,thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)