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
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
How QTP identify the system time that's changes every seconds?
What are the Disadvantages of shared object repository?
We stored into the objects OR and then write the scripting
Limitations in QTP?
What is parameter in qtp?
Your roles and responsibilities and daily tasks? (As automation tester)
desribe a situation where u faced a stressful situation and how did u cope with it
What is Distributed testing? How does UFT support it?
what is the latest version of QTP? Main difference between 9.2 and 10 version
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Explain sub procedure of vbscript.
What is the Difference between copy to action and call to action?
They asked by using qtp recording writing scripting
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.