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

Pls anyone, tell me the script in QTP to find the number of
links, and images in a webpage. Verry very urgent. I
shall really be very thankful

Answer Posted / hemakumar.m

oLinkDes=Description.Create()
oLinkDes("micclass").value="Link"
a=Browser("title:=.*").Page("title:=.*").Childobject
(oLinkDes).Count
Msgbox a

oImageDes=Description.Create()
oImageDes("micclass").value="Image"
a=Browser("title:=.*").Page("title:=.*").Childobject
(oImageDes).Count
Msgbox a

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1902


How QTP identify the system time that's changes every seconds?

995


What are the Disadvantages of shared object repository?

1063


We stored into the objects OR and then write the scripting

1970


Limitations in QTP?

2103


What is parameter in qtp?

1022


Your roles and responsibilities and daily tasks? (As automation tester)

3030


desribe a situation where u faced a stressful situation and how did u cope with it

1814


What is Distributed testing? How does UFT support it?

986


what is the latest version of QTP? Main difference between 9.2 and 10 version

2049


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

2057


Explain sub procedure of vbscript.

992


What is the Difference between copy to action and call to action?

1062


They asked by using qtp recording writing scripting

2513


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

3459