How to get Links count in an web application,without
descriptive programming?
Answer Posted / raghava
Hi guys
Here we have to use the description object.Its working with
me.Just try it out.
Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set Lists = Browser("Google").Page("Google").ChildObjects
(oDesc)
NumberOfLists = Lists.Count()
linkcnt = 0
For i = 0 To NumberOfLists - 1
linkcnt = linkcnt+1
Next
msgbox linkcnt
Regards
raghava
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to delete an object from the object repository?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
What is quicktest professional?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
What is qtpro? What is a quick test professional?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
if numbers are always changing write a script for that
Explain features of the latest version of qtp/ uft 12.1?
What is use of object spy?
Explain about business process component? types and usage?
How you can find the absolute value of the number in qtp?
For which type of projects the iterative model is not suitable?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
What is the basic concept of quicktest professional?
How will you check a web application for broken links using qtp?