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
Answers were Sorted based on User's Feedback
Answer / hemakumar.m
'For Links
Dim oLinkDes
Set oLinkDes=Description.Create()
oLinkDes("micclass").value="Link"
a=Browser("title:=.*").Page("title:=.*").Childobjects
(oLinkDes).Count()
Msgbox a
'For Images
Dim oImageDes
Set oImageDes=Description.Create()
oImageDes("micclass").value="Image"
a=Browser("title:=.*").Page("title:=.*").Childobjects
(oImageDes).Count()
Msgbox a
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / 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 |
Wher to use DATA TABLE METHODS in Qtp?What is the use of it?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?
why can't you use excel directly in qtp. why we want to import excel data into Datatable.
Can you tell me any books or websites to learn VB Script for QTP ??
How to find a window is minimized or not
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
How to retrieve alpha bate from the alphanumeric string with special character.
In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??
How can we automate Capthca on registration or any contest forms ? Is it possile to Automate Webpages with Falsh using QTP..?
How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared
4 Answers Tavant Technologies,
Can anyone please explain me the process of automating an application using QTP as i am new to this?