WebPagetest Forums
Testing with frames - 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: Testing with frames (/showthread.php?tid=195)



Testing with frames - fpiat - 04-01-2010 05:55 AM

Hello
I know, frames are evil, frames are completely out, etc. but I want to test a site with frames. Is it possible, and if yes, how? I haven't found anything on the subject ...
TIA


RE: Testing with frames - pmeenan - 04-01-2010 07:11 AM

You should be able to just test the site, regardless if it has frames or not. The requests will not identify what frame they belong to but they should all show up in the waterfall and the page will complete after all of the frames have loaded.


RE: Testing with frames - fpiat - 04-01-2010 03:56 PM

Yes I can test the "first" display of all frames, but how can I use scripting for further investiguations, by example filling login and password who are in a certain frame. I have tried making a script with the docs found in the wiki, but obviously it don't work because I don't know how to reference the input field of a form in a particular frame.


RE: Testing with frames - pmeenan - 04-01-2010 09:21 PM

You shouldn't have to target a specific frame, the code walks all of the frames on the document looking for the fields you specify (having a unique attribute or ID is required though). Can you e-mail me the url for the page you are trying to script (if it is public) and I'll take a crack at it (pmeenan@webpagetest.org).

-Pat


RE: Testing with frames - pmeenan - 04-01-2010 11:27 PM

FYI, we got the script working offline. No problem with frames but scripting pages can be tricky and sometimes you have to try a couple of different things to get it working (simulate clicks instead of form submissions if there are js even handlers attached to buttons, etc).

All is good :-)

As always, feel free to reach out to me if you have any questions, particularly when it comes to scripting which is insanely complicated (yes, my fault).