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
What are the different attributes used with regular expression?
What is the parameterization? Give one example?
What are the differences between quicktest professional (qtp) and winrunner?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
How to find the name of the machine where you are running your automation scripts in qtp?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
Is it possible to switch between recording modes during a test creation?
what is keyword driven testing in qtp?n how is it useful?
who QTP recognizes the object stored in object repository?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
What are the benefits of qtp?
What are main panes available in qtp test browser?
How to customize checkpoints with parameters?