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
'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 |
Post New Answer View All Answers
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
what are the challenges you have faced while testing web based application using the automation tools ?
What is test object model in quicktest professional?
What are output values and why they are used ?
What the differences are and best practical application of Object Repository?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Is it possible to use two instances of UFT on the same machine? If not why?
How to add verification steps to tests?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
Did QTP prove efficient for your project? Yes or No, explain?
How software automation specialist enter steps in the Expert View?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..