Current time: 12-11-2017, 05:31 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing with frames
04-01-2010, 05:55 AM
Post: #1
Testing with frames
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
Find all posts by this user
Quote this message in a reply
04-01-2010, 07:11 AM
Post: #2
RE: Testing with frames
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-01-2010, 03:56 PM
Post: #3
RE: Testing with frames
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.
Find all posts by this user
Quote this message in a reply
04-01-2010, 09:21 PM
Post: #4
RE: Testing with frames
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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-01-2010, 11:27 PM
Post: #5
RE: Testing with frames
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).
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: 1 Guest(s)