can you write down down the entire code here,so we can understand and help you out correctly as how you are posting to excel.
if you initialise row =0 and then increment by 1,it points to next while you retrieve the current row. thanks,venkat On Sat, Apr 9, 2011 at 1:56 PM, Raj <[email protected]> wrote: > Hello, > > I am now facing a new issue. I am able get the get the value and pass > it to excel but now when dynamic vales are created, Qtp is overwriting > the values in excel. The system is saving the value in the first row > and when it takes the value from second web table it overwrites the > first row data. Any solution to this problem? I want the values from > different web table to get stored in different rows. > > Thanks > Raj > > On Apr 9, 2:11 am, Raj Aryan <[email protected]> wrote: > > 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 > -- Thanks,Venkat Musku -- 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
