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 / sathya
Set odesc = Description.create
odesc("micclass").value="Browser"
Set Listofbrowser = Desktop.ChildObjects (odesc)
Counter = Listofbrowser.count
Msgbox Counter
For i=0 to Counter-1
val1 = Listofbrowser(i).Page("title:=Rose - Wikipedia, the free encyclopedia").WebElement("html id:=content").GetROProperty("innertext")
Msgbox val1
val2 =Split(val1, "rose" )
val2 = Ubound (val2)
Msgbox Val2
Listofbrowser(i).close
Next
Please correct me if am wrong.......Thanks
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Where to use Property Let, Property Get, Property Set in UFT
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
How you know that a test case is a regression test case
How you debug your script?
What is qtpro? What is quick test pro?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
What is quick test pro? What is a quick test professional?
What is expert view and keyword view?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How to find Operating system information using QTP script?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
how do i know how to use tools
Explain the views in the QTP GUI?
What are the differences between table and db checkpoints?
What are the technologies supported by qtp?