Hello I got the solution to the problem. I used the method getcelldata(row,column)
Browser().Page().WebTable().GetCellData(row,column) Using this vale I am able to get the calle value from web table. Thanks & Regards Raj Kumar Mobile: - +919940657331| Aim: Singhr13 On Fri, Apr 8, 2011 at 2:40 AM, Neil Ellsworth <[email protected]> wrote: > Sounds like a good case for using regular expression to recognize the > object then use the run time methods to capture the dynamic values. > > > > Sent from myPhone > > On Apr 7, 2011, at 1:59 PM, Raj <[email protected]> wrote: > > > Hello, > > > > I have a webtable in my web application which looks like this. > > > > Name: Raj > > Roll: CPP 30000 C > > Effective Date: 01/01/2011 > > Expiry Date: 01/01/2012 > > Unique No: 12345000000000 > > Predom St: BR > > > > This value keeps on changing with Name change at each run time.Each > > time the values of the fields will change dynamically but the fields > > will remain static and values length will also remain static. Now I > > have to pass this info to excel sheet.When I am adding the above > > fields values as objects in Object Repository(OR) it gets added.Its > > able to identify web table values. Now when the field vale changes. > > e.g > > Name: Samba > > Roll: CPP 34567 D > > Effective Date: 01/01/2011 > > Expiry Date: 01/01/2012 > > Unique No: 67575000000000 > > Predom St: RS > > > > OR is not able to recognize the objects. Its give the error message > > saying the or cannot recognize the Object in OR. I have to pass this > > fields values to excel sheet. As OR is not able to recognize the > > object as it changes everytime so I cannot pass the vales of the > > fields to excel. > > > > Please provide suggestion as how we can captures the value of the > > fields which keeps changing dynamically in OR > > > > Thanks in advance. > > Raj > > > > -- > > You received this message because you are subscribed to the Google > > "QTP - HP Quick Test Professional - Automated Software Testing" > > group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > > http://groups.google.com/group/MercuryQTP?hl=en > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
