-
Expert Member
Re: What is Description Object?
Set ODesc = Description.Create()
ODesc("miclass").value = "WebButton"
Set OCollection = Browser(p).Page(b).ChildObjects(ODesc)
'''here ODesc is the description Object & by the Using the OCollection u can perform validation on any of the object that u need.
E.g If there are 2 Submit button one named "Submit" other named "Logout"
then......
For i = 0 to OCollection.Count-1
if OCollection(i).GeROProperty("name") = "Logout" then
OCollection(i).click
end if
Next
Regards,
Nawab
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules