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 will you test a stapler?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
Where to use function or action?
How to save your test using quicktest professional (qtp)?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Explain the views in the QTP GUI?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
When do go for loop condition in test?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
images are dynamically changes how to compare two images with out using the bitmap
What is clean sweep?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What is fragmentation and paging?
How to handle the exceptions using recovery secnario manager in quicktest professional?