how do check the links in a webpage ?
Answer Posted / hemanth baabu
For Ex..
"oDesc is the new descrption"
"objlink" is the object which we save alla the links..,
then..,
ex.prm:-
Set oDesc = Description.Create()
oDesc("micclass").Value="Web Link"
Set objlink =
Browser("micclass:=Browser").Page("Browser:=Page").Childobject(oDesc)
NumberOfLinks = objlink.count
msgbox NumberOfLinls
then in msg box the number of links will be opend..,
as per my knowlwdge this is the answer...
thanks®ards
hemanth baabu..!!
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
HOw to add the recovery file at runtime to the test file .
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
assume i have few url link how will i dynamically call then using descriptive programming?
Can anybody post some real time scenario in qtp? please its very urgent.
Is it possible to merge two object repository files in qtp?
How does QTP identify an object?
What is the difference between call to existing action and copy of an action?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
Differences between text and test area checkpoints?
in a web page How to check and display a particular word from a paragraph?
What r the different filters in defect in quality center
What is the quicktest professional testing process?
How many ways we can parameterize data in quicktest professional (qtp)?
what is object and child object.. explain ..if possible give some example for better understanding ..
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?