in qtp how i can retrive from a browser how many links are
there.means total no of links used in a browser
Answer Posted / rajanikanthreddy
set desc=description.create()
desc("html tag").value="A"
set a=browser("name:=Book Store").page("title:=Book
Store").ChildObjects(desc)
print a.count
For i=o to a.count-1
b=a(i).getroproperty("text")
print b
next
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Where we use data driver in qtp?
how do u plan test automation?
how to disable the pop ups through QTP using a script
What is the difference between shared and local object repository?
What is the keyword view and expert view in qtp?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
How is UFT 11.5 version different from UFT 12.0?
How QTP identify the system time that's changes every seconds?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
explain how to write vb script in qtp?when will you write own script?
Does quicktest professional is unicode compatible?
What is test object?
What are the various automation frameworks available in qtp?