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 |
Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..
how to write function to validate the number of characters entering into the text box?
how to find number of characters(letter a) in the sentence Rain Rain Go away
What if you do not specify anything when you call a procedure?
reverse the string without using reverse string?
write a vbscrpit to swap values
Differentiate javascript and vbscript?
Which in-built function is used to format the number in the vbscript language?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
0 Answers College School Exams Tests,
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
How to get the length of the string by making use of the string function?
which one is more secure vb script or java script ??????? or both are same ??????