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
how to write xml output check point bu useing descriptive programing .means without useing output check point
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
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
How do you perform Regreession Testing?
what is impact analysis on regression testing?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
how to acess a test in RSA?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
What test cases can you automate using QTP?
What is the difference between the design-time and run-time data tables?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
How to handle Java tree in QTP?
What are some test assets and related extensions of qtp?