Hi Alexander,
does your script execute on load? There is a known problem concerning
execution order when loading frames.
Marc.
Gretencord, Alexander wrote:
Hi,
I'm currently trying out webtest for use in my diploma thesis. I use R_1366.
I have successfully logged into our web application and am now trying to verify
that certain elements and text appear in response to various actions. The
application uses 3 frames. Inside the pages some javascript functions try to
access other frames and that is where I get the error:
Test step invoke (Overview.xml:31: ) failed with message "Step[invoke (14/14)]: Script
error loading page executing webtest at: invoke TypeError: Cannot read property
"location" from null (Embedded script...
Webtest does not know anything about the page containing the frameset anymore.
Why? I tried to use followFrame (also tried with _top) before but there simply
are no frames (says webtest), so I can understand that
top.fHead.location.replace() returns with that error message. What am I doing
wrong? Or is this just how webtest works and I will not be able to test our
application with Webtest?
Alex
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest