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 will you find the current time of the remote machine using QTP script?
What is the architecture of your project? Can any one answer for this question plz........
What are the different kinds of test steps?
What is data driver in qtp?
HOw to add the recovery file at runtime to the test file .
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
How can I change object description or check point values in qtp?
how to write xml output check point bu useing descriptive programing .means without useing output check point
What is quicktest professional?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
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
How to attach a file to TD?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
Is the qtp course will help to create a virtual object?