Current time: 11-23-2019, 12:12 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to develop scripts?
04-17-2013, 07:48 PM
Post: #1
Question How to develop scripts?
I have a private system (Controlling web-server + Agent) and I'm trying to develop some script tests. However, the scripts aren't behaving as expected.

How should I approach the scripting of .. scripts? How to debug what's going wrong?

The scripting documentation page states:
Quote:You won't get a lot of feedback as to why a script failed so make sure to test your scripts locally with the desktop version of pagetest (file->Run Script) before uploading them for hosted testing. You can probably get away with a simple navigation path without testing but not the fancier scripts.
But that is referring to a deprecated tool (desktop version), is it not? I tried logging into the Agent and (file ->) certainly doesn't have a "Run Script".

At least I can watch the script being run, but that is still very lacking. Are there any logs or anything!?
Find all posts by this user
Quote this message in a reply
04-18-2013, 11:48 PM
Post: #2
RE: How to develop scripts?
If you are on the agent and open the IE browser there will be a "tools->AOL Pagetest" (or pagetest) menu item that will open up the gui for the desktop version (and that window is the one that has a file menu).

The only logs that are available are when running a debug build (which generally are only available if building from source). Sorry, the scripting doesn't get as much attention as it deserves because it is only used by a few people to do anything more than the basics (set cookies, spoof dns and navigate).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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