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


Please Help Members By Posting Answers For Below Questions

How many types of actions are there in quicktest professional?

516


What the differences are and best practical application of Object Repository?

592


What is Cross browser testing? Does UFT support it?

623


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1574


I want to do QTP Certification what is the pattern of Question paper.

1747






What is meant by Output Value in UFT?

567


What are the views available in quicktest professional (qtp)?

579


How to give a call to another action from one action?

632


What is the use of Debug Viewer?

1492


We stored into the objects OR and then write the scripting

1546


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

1967


Limitations in QTP?

1749


What is qtpro? What is quick test pro?

564


How to explain a banking project in interview as a test engineer???

2601


Hello friends..... On which areas of an application we can not test with QTP

1561