the problem comes when referring to it later. (that is speculation of course since the referring part of the code is not submitted)
cheers Dierk Am 24.03.2010 um 18:13 schrieb Marc Guillemot: > what is the problem with a blank? > > Marc. > -- > Blog: http://mguillem.wordpress.com > > > Dierk König wrote: >> you shouldn't have a blank in you property name. >> cheers >> dierk >> Am 24.03.2010 um 16:40 schrieb sriharini sriharini: >>> Thanks Mick. I get the xpath now for the second item. But the storeXpath is >>> failing. Do i have to do any thing special? >>> >>> here is the step: >>> <storeXpath xpath="(//span[...@class='normalText'])[2]/text()" >>> property="account id"/> >>> >>> >>> Thanks, >>> Srini >>> >>> >>> On Tue, Mar 23, 2010 at 5:02 PM, Mick Knutson <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Try: >>> >>> String FIRST_ITEM_XPATH = "//sp...@class='normalText'][1]/text()" >>> >>> --- >>> Thank You… >>> >>> Mick Knutson, President >>> >>> BASE Logic, Inc. >>> Enterprise Architecture, Design, Mentoring & Agile Consulting >>> p. (866) BLiNC-411: (254-6241-1) >>> f. (415) 685-4233 >>> >>> Website: http://www.baselogic.com <http://www.baselogic.com/> >>> Linked IN: http://linkedin.com/in/mickknutson >>> Twitter: http://twitter.com/mickknutson >>> Vacation Rental: http://tahoe.baselogic.com >>> <http://tahoe.baselogic.com/> >>> --- >>> >>> >>> >>> >>> On Tue, Mar 23, 2010 at 1:43 PM, sriharini sriharini >>> <[email protected] <mailto:[email protected]>> wrote: >>> >>> >>> >>> Hi, >>> I am trying to get the xpath for 123456 and store it >>> Can you please help in writing the xpath and storing the value. >>> >>> Below is the code >>> >>> Thanks for the help. >>> >>> Regards >>> srini >>> >>> I tried this, but my test is failing for this step >>> <storeXpath xpath="(//sp...@class='normalText'])[2]/.." >>> property="confirm_id"/> >>> >>> >>> ----------------------------------------------------------------------------------------------------------------------------- >>> <tr> >>> <td align="right"><span >>> class="boldText">Confirmation Number:</span></td> >>> <td><span >>> class="normalText">DE28-572145</span></td> >>> </tr> >>> <tr> >>> <td align="right"><span >>> class="boldText">Transaction Id#:</span></td> >>> <td><span >>> class="normalText">*123456*</span></td> >>> </tr> >>> >>> ----------------------------------------------------------------------------------------------------------------------------------- >>> >>> >>> > > > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

