use setcurrentrow()
On Fri, Nov 18, 2011 at 2:46 PM, Abraham Itty <[email protected]> wrote:
> How can I save runtime value in datatable:
>
> Scenario :
> There are more than 200 WebElement of Tag Type=TR, I am retrieving
> InnterText property value of all the WebElement. I want to transfer
> InnerText value to sepearate rows of column "TRElement"
>
> Script :
>
> Set oDesc=Description Create()
> oDesc("html tag").Value="TR"
> oDesc("micclass").Value='WebElement"
> Set TRTags=Browser("ENOVIA").Page("ENOVIA").ChildObjects(ODesc)
> NumberofTRTags=TRTags.Count()
> For i=0 to NumberofTRTags
> Datatable.Value("TRElement")=TRTags(0).GetROProperty("innertext")
> Next
>
> How can I change the row, currently I am overwriting the values....
>
> --
> 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
--
Regards,
Ganesh Muralidharan
'God Never Forgets'
--
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