Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
view child objects
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Arun,

Try with below code ...

Code:
Set Obj_Desc=Description.Create
Obj_Desc("html tag").value = "INPUT"

Dim allTextbox
Set allTextbox = Browser("Login").Page("Login").ChildObjects(Obj_Desc)
allTextbox_Cnt=allTextbox.count

For i=0 in (allTextbox_Cnt-1)
  msgbox allTextbox(i).GetRoProperty("Attached Text")
Next

The script will work fine.
Reply


Messages In This Thread
view child objects - by arun2kindia - 12-19-2008, 07:58 AM
RE: view child objects - by sreekanth chilam - 12-21-2008, 09:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question what is the shortcut key used to switch between keyword view and expert view in qtp. shaileshanand86 5 11,700 02-13-2019, 03:58 AM
Last Post: zia003
  Child Object Not able to identified in Web Menu Link noor 0 1,862 01-21-2018, 04:44 PM
Last Post: noor
  Selecting child node from Wintree object ajith123 2 5,322 02-26-2014, 02:12 AM
Last Post: supputuri
  Child Objects in JavaWindow shubham 0 2,942 01-24-2014, 03:21 AM
Last Post: shubham
  Unable to view cursor during run swathiG 1 4,822 08-31-2012, 11:29 AM
Last Post: Sathiya

Forum Jump:


Users browsing this thread: 1 Guest(s)