In google i'm going to search something like "rose", i usually get 10 results in the first page and in 2nd page 10 results and in 3rd 10 results so on upto 10th page 10 results. so if i want to open all the 10 pages 10 results i.e., 100 results and close..what is the DP for this? pls can anyone answer my Question..PLZZZZZ...
Answer Posted / usha
Set d = Description.create
d("micclass").value="Browser"
Set browsers=desktop.ChildObjects(d)
msgbox browsers.count
Set od = Description.create
od("micclass").value="Link"
'od("index").value=j
od("name").value="Rose.*"
od("html tag").value="A"
For i = 0 to browsers.count-1
'msgbox browsers(i).getroproperty("innertext")
Set links=browser("creationtime:="&i).page("name:=.*").childobjects(od)
msgbox links.count
For j = 0 to links.count-1
msgbox links(j).getroproperty("innertext")
Next
Next
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how to prepared for first for the first interview?
give me the code to save all messages of inbox of gmail into a folder and notepad
How to find the length of the string in qtp?
What are the 3 main stages involved in testing with qtp?
What are the views available in quicktest professional (qtp)?
Is it possible to call from one action to another action in qtp?
What is an expert view and keyword view?
Explain how you can replace string in qtp?
How will you test a keyboard?
What are the advantages of parameterization ?
How can I change object description or check point values in qtp?
How to handle dynamic objects in quicktest professional?
How to test fly out menu in qtp?
What is CMMP and CMMH?
How can I use Call dlls in QTP ?