How to get Links count in an web application,without
descriptive programming?
Answer Posted / sudhir
Hi Friends ,
Above Ans #5 gives syntax mismatch error.
Find below correct code.
set odesc=description.create()
oDesc("micclass").Value = "Link"
set lists=browser("Welcome: Mercury Tours").page("Find a
Flight: Mercury").childobjects(odesc)
counter=lists.count
msgbox counter
for i=0 to counter-1 step 1
name=lists(i).getroproperty("name")
msgbox name,0,"curren link is"
Next
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are some test assets and related extensions of qtp?
How many number of actions possible in qtp?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
What is the difference between per-action and shared?
What is the use of Debug Viewer?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
What is the default add-ins in qtp?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
Explain the concept of object repository and how QTP recognizes objects?
how to idetfy which test cases are automated?who will deside that plz tell me
What is test object model in quicktest professional?
How to find the path of folder in which the test is saved in qtp?
Is the qtp course will help to create a virtual object?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
How can you pass value one action to another action?