Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Where to use Property Let, Property Get, Property Set in UFT

782


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

2026


How you know that a test case is a regression test case

3909


How you debug your script?

1004


What is qtpro? What is quick test pro?

1003


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

2080


What is quick test pro? What is a quick test professional?

1017


What is expert view and keyword view?

1061


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

2108


How to find Operating system information using QTP script?

953


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.

1847


how do i know how to use tools

1943


Explain the views in the QTP GUI?

1003


What are the differences between table and db checkpoints?

966


What are the technologies supported by qtp?

911