Marc,
The night prior to the day I did that work, we had an automated update
of Windows. Apparently, it messed up some machines, mine included. When
I fixed a problem with a different application this one was fixed also.
The <previousPage/> was just there to highlight where I had put valid
<previousResponse/> tags. I when I typed the email, I was thinking pages
not responses ("previous page" is in the first line of text on the
manual page) so I typed the wrong thing in the email.
George
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: Tuesday, April 15, 2008 12:50 PM
To: [email protected]
Subject: Re: [Webtest] DataDriven appears to lose the previously loaded
page prior to its appearance
at which place do you get this error message?
What is <previousPage/>?
Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com
George Policello wrote:
> I forgot the error message.
>
> No current response available! Is previous invoke missing?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George Policello
> Sent: Thursday, April 10, 2008 1:02 PM
> To: [email protected]
> Subject: [Webtest] DataDriven appears to lose the previously loaded
page
> prior to its appearance
>
> DataDriven appears to lose the previously loaded page prior to its
> appearance.
>
> See the code below for accurate description of what I want to
> accomplish.
>
> QUESTION:
> =========
> How can the following goal be accomplished?
>
> GOAL:
> =====
> * Read in a gateway page.
> * Cycle through a list of XPaths that take me to lower and lower
levels
> of the Site.
> * The XPaths should be externally stored (not in the test engine), and
> have a destination Title and TitleRegex associated with each one.
>
> Current understanding:
> ======================
> * Separate <webtest> blocks are independent.
> * <dataDriven> works as below in the sense it reads the *.xls file
just
> fine.
> * <dataDriven> does not have the previous file from the <invoke>
> available once it starts.
> * Putting in random <previousPage> tasks did not work.
>
> CODE
> ===========================================================
> <webtest name='Dig in Site: ${homePage}' >
> <config haltonerror='false' haltonfailure='false' >
> <option name='ThrowExceptionOnScriptError' value='false'
/>
> <option name='ThrowExceptionOnFailingStatusCode' value='false'
/>
> </config>
>
> <invoke url='${homePage}' description='Go to Gateway Page' />
> <verifyTitle text='MEdia' regex='true' />
> <!-- <previousPage/> -->
> <dataDriven tableContainer="XPaths.xls" >
> <!-- <previousPage/> -->
> <clickLink xpath="${XPath}" description="Click to ${Title}"
/>
> <verifyTitle text="${TitleRegex}" regex='true' />
> </dataDriven>
>
> </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
>
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest