WebPagetest Forums
Need help about the Video - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Need help about the Video (/showthread.php?tid=322)

Need help about the Video - wwtaotao - 07-28-2010 05:01 PM

The Video shows not the same as my script.

This is my test result link:

sript are list below:
setDOMElement name=user_id
setValue name=user_id teacher000000001
setValue name=password pass
setDOMElement innerText=Add Module
clickAndWait tabindex=3

I has 2 pages on the script,
one login page, it will show by navigate
another is Institution page, it will show after I input the user id & password, and click Login

The script runs well on destop version.
When I run the script on http://www.webpagetest.org/test, it complete successfully.

The question is when I see the videos(http://www.webpagetest.org/video/view.php?id=100728_28af0c43c7e95ec716dc255abdf21055.1.0),
why it will show the login page again after it show Institution page? thanks.

RE: Need help about the Video - pmeenan - 07-28-2010 08:41 PM

You need a "logdata 0" and "logdata 1" block around the first navigation so it doesn't get captured. The video (and WebPagetest UI) only know how to work with a single step so you need to structure your scripts so that only one step is recorded. The sample here shows what you need to do: http://www.webpagetest.org/docs/Hosted_Scripting

You are seeing the 2 videos essentially interleaved because it doesn't know what to do with the results.



RE: Need help about the Video - wwtaotao - 07-29-2010 12:36 AM

Thanks for your help.The video is OK now.