Children:
- Children is used to find similar objects in the page
Ex:
set desc= Create.Description()
desc("name").value="a1"
desc("micclass").value="link"
Browser("a").Page("b").weblink(desc).click
set O1 = Browser("a").Page("b").Childobjects(desc)
for i =0 to O1.count-1
a= O1(i).GetROProperty("innertext")
msgbox a
Next
Childitem:
Is only for object in WebTable
- Children is used to find similar objects in the page
Ex:
set desc= Create.Description()
desc("name").value="a1"
desc("micclass").value="link"
Browser("a").Page("b").weblink(desc).click
set O1 = Browser("a").Page("b").Childobjects(desc)
for i =0 to O1.count-1
a= O1(i).GetROProperty("innertext")
msgbox a
Next
Childitem:
Is only for object in WebTable
No comments:
Post a Comment