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

Reply via email to