![]() |
Scripting on public WebPageTest - Printable Version +- WebPagetest Forums (https://www.webpagetest.org/forums) +-- Forum: WebPagetest (/forumdisplay.php?fid=7) +--- Forum: General Discussion (/forumdisplay.php?fid=25) +--- Thread: Scripting on public WebPageTest (/showthread.php?tid=13891) |
Scripting on public WebPageTest - dhilipvenkatesh - 09-01-2015 03:14 AM I want to test multiple pages (flow of scenario from home page to product detail page) on public webpage test website. Is there a way I can achieve that using the public website? RE: Scripting on public WebPageTest - andydavies - 09-02-2015 07:50 PM Yes, the scripting support will allow you to do this - https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting Here's on that loads YouTube and searches Code: navigate http://www.youtube.com and another that loads BBC and then clicks on News Code: navigate http://www.bbc.co.uk/ RE: Scripting on public WebPageTest - dhilipvenkatesh - 09-02-2015 08:48 PM Thanks andydavies. In the link it talks about File->Run Script? I am assuming it is some kind of tool or browser plugin from where scripts can be run locally? Also on public webpage test website can you tell me how to upload scripts and run it? I do not see any options available in public portal. RE: Scripting on public WebPageTest - andydavies - 09-03-2015 07:40 PM The File->Run Script is from when WPT was a desktop app If you click on advanced drop down to open the tabs, and then click on the script tag, you'll see a text area that you can add the script to RE: Scripting on public WebPageTest - dhilipvenkatesh - 09-03-2015 09:21 PM (09-03-2015 07:40 PM)andydavies Wrote: The File->Run Script is from when WPT was a desktop app Thanks for the information. I can see now how to execute scripts on public webpage test. Will give it a try. RE: Scripting on public WebPageTest - Vijayram - 09-09-2015 12:54 AM (09-01-2015 03:14 AM)dhilipvenkatesh Wrote: I want to test multiple pages (flow of scenario from home page to product detail page) on public webpage test website. Is there a way I can achieve that using the public website? Yes i am looking for the same. Could you please provide the steps or procedure to test the entire application flow, so that we can identify in which page we have an issue. RE: Scripting on public WebPageTest - pmeenan - 09-09-2015 10:48 PM Did you look at the earlier posts in the thread? The first reply has a link for the documentation on using scripts to test multi-step transactions: http://www.webpagetest.org/forums/showthread.php?tid=13891&pid=26673#pid26673 RE: Scripting on public WebPageTest - nagamallala - 12-27-2016 08:50 PM Hi team, Ho will get the id or name of the field in the web page. I was giving the below script logData 0 navigate https://accounts.google.com logData 1 setValue name=loginId nagamallala setValue name=password xxxxx clickAndWait name=SignIn but I was unable to run it getting the below error please help me out..... ![]() Error creating WebPageTest result {"statusCode":400,"statusText":"Invalid Script (make sure there is at least one navigate command and that the commands are tab-delimited). Please contact us if you need help with your test script."} [2016-12-27 09:17:50] Error creating WebPageTest result {"statusCode":400,"statusText":"Please enter a Valid URL. <b>logData</b> is not a valid Internet host name"} RE: Scripting on public WebPageTest - pmeenan - 01-02-2017 05:59 AM It looks like you are using the API. Does the script work through the UI? If so, make sure you urlencode it before passing it to the api with a script=... parameter RE: Scripting on public WebPageTest - oldweasel - 05-29-2019 01:20 AM I am having a similar issue with my script: Code: logData 0 For some reason the data fields are not being populated, as the screenshot that is returned shows the username and password fields as blank with warning messages that they must be populating [so it appears that the button is being clicked correctly] , but am having a devil of a time figuring out why the two input fields won't populate. |