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
How will you convert a string to lower case string using vbscript?
What is vbscript?
Which command is used for writing text on a page?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
how to write validation function for date in vb script
where can i learn VB scripint ?
How will you convert a given number to long in vbscript?
Mention what is the difference between vbscript and vba?
What is the event handling in vbscript?
Explain the tristate constants in vbscript?
How regexp.execute method works?
How to open browser in vb script?
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
Why is the use of exit do or exit for statements within loops discouraged?
Is vbscript language a case-sensitive language and what does it mean?