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]> 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 > Linked IN: http://linkedin.com/in/mickknutson > Twitter: http://twitter.com/mickknutson > Vacation Rental: http://tahoe.baselogic.com > --- > > > > > On Tue, Mar 23, 2010 at 1:43 PM, sriharini sriharini <[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> > ----------------------------------------------------------------------------------------------------------------------------------- > >

