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 |
What is the difference between a dictionary and an array?
Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer
What is the main difference between function and sub-procedure?
give me any information abou vb script books learn quckly
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
What is the purpose of the err object in the vbscript language?
Explain the support of asp for vb script functionality?
Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10
explain with example primitive data types of vb script.
What is the difference between vbscript and vba?
pls tell me which is good book or site for vbscript?