Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to get the webbuttons count(child objects)
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Try the below

Code:
Set objBrowser=Description.Create
objBrowser("title").value=".*"

Set objPage=Description.Create
objPage("title").value=".*"

Set objButton=Description.Create
objButton("type").value="submit"
objButton("html tag").value="INPUT"
objButton("name").value="Add"

Set objChildObjects=Browser(objBrowser).Page(objPage).Childobjects(objButton)
msgbox objChildObjects.count

'Release the objects once operation is over
Set objBrowser=Nothing
Set objPage=Nothing
Set objButton=Nothing
Set objChildObjects=Nothing


Regards,
Ankesh

Reply


Messages In This Thread
RE: unable to get the webbuttons count(child objects) - by Ankesh - 07-04-2012, 04:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Child Object Not able to identified in Web Menu Link noor 0 1,857 01-21-2018, 04:44 PM
Last Post: noor
  Using static descriptive programming how to count no. of objects on any webpage alpha1 4 6,961 08-11-2015, 08:48 PM
Last Post: kotaramamohana
  Selecting child node from Wintree object ajith123 2 5,317 02-26-2014, 02:12 AM
Last Post: supputuri
  Child Objects in JavaWindow shubham 0 2,936 01-24-2014, 03:21 AM
Last Post: shubham
  Unable to select an item from weblist and unable to enter text in edit box estherindu 5 9,561 05-15-2012, 12:07 AM
Last Post: viswa

Forum Jump:


Users browsing this thread: 1 Guest(s)