Hi Marc,

the problem occurs after clicking the following link:
javascript:var pathAndAction = 
escape('menu%3A%3Atransport.schedule%3A%3Atransport.management--open');top.navigation.location='/tra/pages/framesnavigation.jsp?param='
 
+ pathAndAction + 
'&uri=/FillGantt.do?windowNumber=0';top.content.location='/tra/FillGantt.do?windowNumber=0';

The HTML code of the content frame (now named 'window.0') contains 
window.name="window."+0;

ClickLink on
javascript:var pathAndAction = 
escape('menu%3A%3Atransport.status.feedback%3A%3Atransport.management--open'
results in the mentioned error message.

Stefanie



Marc Guillemot wrote:
> Hi Stefanie,
> 
> its seem that your js causes problem to webtest. Can you look at the js 
> code setting location to "/.../StatusFeedBack.do"?
> 
> Marc.
> 
> [EMAIL PROTECTED] wrote:
>> Hello,
>>
>> could anybody help me with the following problem? I have to use the 
>> 'followFrame' statement several times to switch between two frames 
>> named 'navigation' and 'content'. After a clickLink-Statement in the 
>> navigation frame, webtest can't find the frame 'content' anymore. The 
>> name of the frame seems to have changed from 'content' into 
>> 'window.0'. If I try to click another link in the navigation frame 
>> now, I get the following error message:
>> com.canoo.webtest.engine.StepFailedException: Step[clickLink 
>> "StatusFeedBack" (7/7)]: Script error loading page executing webtest 
>> at: clickLink TypeError: Cannot set property "location" of null to 
>> "/.../StatusFeedBack.do"
>>
>> Thanks in advance,
>> Stefanie
>> _______________________________________________
>> WebTest mailing list
>> [email protected]
>> http://lists.canoo.com/mailman/listinfo/webtest
>>
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to