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
Mention the rules for using option explicit statement?
Mention what is variant in vbscript?
how to increasing the numbers in a given text box please write a vb script
How to declare an array in vbscript?
How to assign a date value to a variable?
what is the use of QCUtil? explain with one example?
How to Import data from a file (file is on the desktop) to the data table
Explain the adodb.stream class?
Explain the functionality of vbscript?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
What are the different types of operators and their order of precedence?
What methods are used to create text files and open text files in the vbscript language?
What is purpose of scripting.filesystemobject class in vbscript?
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?
Which in-built function is used to format the number in the vbscript language?