in qtp how i can retrive from a browser how many links are
there.means total no of links used in a browser
Answer Posted / sandeepguttikonda
To get the count of total number of links in a browser we
need to use "Childobjects".
And we can perform this by using the below code:
/* Creating the description object*/
Set oDescFrame = Description.Create
oDescFrame("micclass").Value = "links"
Set Links_Count = Browser("name:="&Browsername).page
("title:="&Pagetitle).ChildObjects(oDescFrame)
Msgbox &Links_count.count
This will display the total number of links in a page.
Please let me know if you need any further info.
Thanks.
Regards,
Sandeep Guttikonda
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
Why qtp the best testing tool?
Hi, how can we check or avoid the memory leakage in QTP9.2?
What is recovery scenario manager? When you go for recovery scenario manager?
What are the types of properties that quick test learns while recording?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
How many tabs are available to view your test in a test pane and what are they?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What are the differences between qtp and winrunner?
How did you resolve conflicts present in Object Repository?
What is checkpoints for qtp?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.