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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In what way program "hello world" you can write in vbscript?

647


What are keywords in the vbscript language?

525


Which in-built function is used to format the number in the vbscript language?

575


Mention what is vbscript?

598


Which keyword is used to declare a variable in the vbscript language?

529






How will you get a subset of a array in vbscript?

587


Can automation testing find ssame no. of bugs what we can find by manual testing?

1470


Both Static and dynamic arrays are handled by VB script. Is it true?

608


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2504


How to pass argument by reference to a function in vbscript?

536


What are the properties of regexp object?

581


How to assign a numeric value to a variable?

618


How to Import data from a file (file is on the desktop) to the data table

1580


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2393


How will you convert a string to upper case string using vbscript?

551