2 messages in com.canoo.lists.webtest[Webtest] Re: enablejavascipt <unkown>
FromSent OnAttachments
object tester22 Dec 2004 00:31 
Marc Guillemot22 Dec 2004 00:49 
Subject:[Webtest] Re: enablejavascipt <unkown>
From:object tester (obje@yahoo.com.au)
Date:12/22/2004 12:31:52 AM
List:com.canoo.lists.webtest

I'm a bit lost on how to use the enablejavascript extension. e.g. my test script

... <target name="main"> <testSpec name="${testid}"> &config; <steps> <enablejavascript enable="false"/> <invoke stepid="login screen" url="samplelogin.html" save="step1"/> ...

when i check the log info i see:

[testSpec] (steps.Setup 141 ) Skipped User-Agent header as it has already been configured in the BrowserVersion [testSpec] (steps.Step 260 ) Start Step: enablejavascript "<unknown>" (2/5) [testSpec] (steps.Step 260 ) Start Step: invoke "login screen" (3/5)

because enablejavascript isnt defined in webtest.dtd I have to force the save in my xml editor. Any suggestions as to why it is coming up as <unknown> ?

I've checked webtest.jar has EnableJavascript class in it and it is correctly in the path.

Apologies for the newbie question but I did a search of the archives and the community www and I cannot find any examples on the usage ( apart from looking into build.xml ).

?????

Marco

Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com