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 customize qtp?
Whats the realtime QTP testing process
When to use shared and local object repository?
How does QTP identify an object?
Where you get the run time data table?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
Which scripting language used by quicktest professional?
How to check which add-ins are associated with a test in qtp?
How to creating an output value using quicktest professional (qtp)?
What is the syntax to call one script from another?
Give me some real time point of way where exactly we can conduct audits?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
What are the different types of recording modes?
Explain about the test fusion report of quicktest professional (qtp)?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?