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
Connect to QC using AOM.
breef description of batch testing ?
Explain Descriptive Programming Types with Examples?
distinguish between old version and new version QTP features.
Which functionalities of QTP used in banking project?
what is the frame work in J-meter?
Explain about business process component? types and usage?
Hi, how can we check or avoid the memory leakage in QTP9.2?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
How to use Environment parameterization? Explain with an example.
When to use descriptive programming?
Explain how you can delete excel file in qtp?
How you create new action in qtp?
What is different command used in command Prompt while using QTP?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?