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
Explain about vb script?
Mention what is variant in vbscript?
Explain about scrrun.dll in vbscript?
Explain the asc function?
What is the difference between for loop and while loop?
Which function is used to perform string comparison?
Explain about scrrun.dll?
How will you convert a string to upper case string using vbscript?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
what is the standards used for writing the script in QTP
Explain about filter expression?
When are redim statement and preserve keyword used in the vbscript language?
What is the use of option explicit in vbscript?
What are class events?