Hi friends!
I have array which take elements from combobox in page (which has webelements, one of them i want to choose and click)
Dunno even if its good:
When i check elements number by:
It shows properly number of them which is 38.
Now is my question. How can i choose one element from it which im interested in and click it?
I suspect i must use "for" but don't know how :/
I have array which take elements from combobox in page (which has webelements, one of them i want to choose and click)
Dunno even if its good:
Code:
Public Function FnGetWebEdits()
Set oDesc = FnGetDescription(Array(_
Array("micclass","WebElement"),_
Array("class", "x-combo-list-item"),_
Array("visible", true)))
Set objList = Browser("Update Record").Page("Update Record").ChildObjects(oDesc)
print objList.Count
For i = 0 To objList.Count-1 Step 1
print objList.GetRoProperty("name")
Next
Set FnGetWebEdits = objList
End Function
When i check elements number by:
Code:
Set objInList = FnGetWebEdits()
It shows properly number of them which is 38.
Now is my question. How can i choose one element from it which im interested in and click it?
I suspect i must use "for" but don't know how :/