![]() |
Scripting - Printable Version +- WebPagetest Forums (https://www.webpagetest.org/forums) +-- Forum: WebPagetest (/forumdisplay.php?fid=7) +--- Forum: Bugs/Issues (/forumdisplay.php?fid=10) +--- Thread: Scripting (/showthread.php?tid=12087) |
Scripting - nithya - 03-06-2013 01:39 AM Hello, I am trying to find the metrics for a game page in games.yahoo.com for a signed-in user. The test does not return any results. it would be of great help if you assist me in doing this Steps: 1.Go to http://games.yahoo.com/game/vegas-world-yap.html;_ylt=A2KJNTufwC1RUUEAyCLUwOZ_ 2.Click on "Play" button 3.Enter login credentials and signin Page will navigate to http://games.yahoo.com/game/vegas-world-yap.html;_ylt=A2KJNTufwC1RUUEAyCLUwOZ_(signedin view). Script written by me for above: logData 0 // put any urls you want to navigate logData 0 navigate http://games.yahoo.com/game/vegas-world-yap.html;_ylt=A2KJNTufwC1RUUEAyCLUwOZ_ clickAndWait innerText=play setValue id=username karen.test45 setValue id=passwd testing submitForm localName=button logData 1 // this step will get recorded navigate http://games.yahoo.com/game/vegas-world-yap.html;_ylt=A2KJNTufwC1RUUEAyCLUwOZ_ RE: Scripting - shashank - 09-10-2013 09:23 PM i would suggest you to put sleep for 10seconds after you submitForm logData 0 navigate http://games.yahoo.com/game/vegas-world-...EAyCLUwOZ_ clickAndWait innerText=play setValue id=username karen.test45 setValue id=passwd testing submitForm localName=button Sleep 10 logData 1 |