How to get Links count in an web application,without
descriptive programming?
Answer Posted / a
POSTED BY -CHAITU
This Script is Helpfull to count the No.of links in a web
page
Step1: Set Objects = Browser("BrowserName").Page
("PageName").ChildObjects
Step2: Objectcount = Objects.count
Linkcount = 0
Step3: For i = 1 to Objectcount-1
Link = Objects(i).GetROProperty("micclass")
If Link = "Link" Then
Linkcount = Linkcount+1
msgbox Linkcount
End If
Next
msgbox Linkcount ' It show total number links
--------------
This code is not working.
Check it out.
Link = Objec(i).GetROProperty("micclass")
Error is here.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Give the syntax to load function at run time.
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
Where you are storing your script?
Explain more about the Test Fusion Report of QTP?
Mention the test steps of qtp.
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
can test automation improve test effectiveness?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
We stored into the objects OR and then write the scripting
Explain about the test fusion report of quicktest professional?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
Explain in brief about the quicktest professional automation object model?