Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

968


What is vbscript?

1027


Which command is used for writing text on a page?

935


Which operator is used to perform the comparison among 2 operands in the vbscript language?

901


how to write validation function for date in vb script

2540


where can i learn VB scripint ?

2031


How will you convert a given number to long in vbscript?

833


Mention what is the difference between vbscript and vba?

976


What is the event handling in vbscript?

934


Explain the tristate constants in vbscript?

977


How regexp.execute method works?

1022


How to open browser in vb script?

1139


Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble

2414


Why is the use of exit do or exit for statements within loops discouraged?

983


Is vbscript language a case-sensitive language and what does it mean?

957