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



hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

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

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

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

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / mulugu

href link in the properties

Is This Answer Correct ?    1 Yes 0 No

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

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

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / ll

let me now answer

Is This Answer Correct ?    0 Yes 1 No

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / anuj

From where will u get value of "XXX" ???

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

What is the difference between ByRef and ByVal. When to use ByRef and ByVal

5 Answers   Polaris, TCS,


Hi I am having one folder with set of text files now i want to read and write that text files data into QTP. Any help plsss.

1 Answers  


Which command is used for writing text on a page?

0 Answers  


Explain the extension .hta?

0 Answers  


How to load vbs functions in qtp

2 Answers  






what is the standards used for writing the script in QTP

0 Answers  


i want to when we will write the scripts either after getting the build or after getting the SRS?

3 Answers  


How to open a file. What is the perpose of true and false mode there?

0 Answers  


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

0 Answers  


What is the technology used by vb script?

0 Answers  


How can you create a file object to work with the files in the vbscript language?

0 Answers  


write a program to display configuration of a local system with the help of vb script.

0 Answers  


Categories