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 / 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


Please Help Members By Posting Answers For Below Questions

Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1877


What are the automation metrice in your project?

2233


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

2238


Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?

1776


how to download mercury qtp9.2 ny internet ?

3420


What is the difference between Keyword Driven test and Data Driven test?

2179


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

2016


Describe synchronization point.

1082


how to idetfy which test cases are automated?who will deside that plz tell me

1960


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1815


What are the types of object repositories? Which one is you using?

1126


How to do call a output parameter from one action to another action??/

2317


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1722


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1906


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3928