Below is the example to find the number of WebButtons in a page. I have have coded iot for Google page:
Dim oDesc 'Description Object
Dim colObject 'Object Collection
Set oDesc = Description.Create
oDesc( "micclass" ).value = "WebButton"
'Additional property- for more focused and controlled collection
oDesc( "Type" ).value = "submit"
Set colObject = Browser( "name:=Google").Page("title:=Google").ChildObjects( oDesc )
Msgbox colObject.Count 'Returns the number of webbutton
Thanks.
How to find the number of WebButtons in a screen while runtime?
Profile Answers by venkatesanj Questions by venkatesanj
Questions by venkatesanj
Editorial / Best Answer
amereettoProfile Answers by amereetto Questions by amereetto
Hi,
Related Answered Questions
Related Open Questions