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..
Answers were Sorted based on User's Feedback
Answer / sangee
U can get the value by using Object Spy and get the properties
which ever u want.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / chaitanyakumar.chivukula
we can test the frequently changed object like links or
buttons...etc with the help of DP...
we can test dynamicly changed links with help of DP with
Reg.Exp or creation of time.
Set link = Description.Create()
link("innertext").Value = "xxx"
link("innertext").Reg.Exp = "xxx"
Browser(Broswer).page(Page).weblink(link).click
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
write a qtp script to count the number of minimized windows
Explain about constants in vb script?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
What is a class in CSS?
Which command is used for writing text on a page?
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
Explain the tristate constants in vbscript?
write script to open Gmail.com, and to write script for entering username and password and show whether the result as pass or fail
How will you convert a string to lower case string using vbscript?