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

