Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

hai all.iam chandu..please let me know how to test a link
in QTP when it is changing at run time..and what property
we should take while we r using descriptive programming for
a link..

Answer Posted / pravati

set obj=Description.create()
obj("micclass").value="Link"
set linkobj=Browser("micclass:=Browser").page("micclass:=page").childobjects(obj)
for i=0 to linkobj.count -1
x=linkobj(i).Getroproperty("name")
if trim(x)="forgotten password?" then
linkobj(i).click
exit for
end if
next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the rules for using option explicit statement?

1065


Mention what is variant in vbscript?

992


how to increasing the numbers in a given text box please write a vb script

2262


How to declare an array in vbscript?

1417


How to assign a date value to a variable?

1159


what is the use of QCUtil? explain with one example?

7150


How to Import data from a file (file is on the desktop) to the data table

2129


Explain the adodb.stream class?

1064


Explain the functionality of vbscript?

1012


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2557


What are the different types of operators and their order of precedence?

1088


What methods are used to create text files and open text files in the vbscript language?

1028


What is purpose of scripting.filesystemobject class in vbscript?

1178


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

1079


Which in-built function is used to format the number in the vbscript language?

1057