Hi,
what do you get as message "Frame not found with name: followMe available:
..."?
In fact I would have said that this js could be interpreted correctly. Are
you sure that js execution comes until this point? Can you add something
like "alert('foo');" just after the document.write and look in the console
if this gets executed?
Marc.
jkmuc wrote:
Hello all,
I have tried to find a clue on my problem in the mailing-archive, but I
was getting confused :-( please forgive when I am doing "double-posting".
I want to test part of a website which is embedded in an iframe. The
iframe is not defined directly in HTML but via javascript:
document.write("<iframe id='followme' name='followme'
src='http://www.hereistheframecontent.com/'>");
document.write("</iframe>");
Now trying the webtest step "followFrame" as
<followFrame name="followme"/>
fails ("Frame not found with name followme").
Obviously the parser doesn't find any HTML code which is rendered by
javascript.
Is it possible to handle this with webtest?
Thanks for any hint,
Bernd