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
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
Why is the use of exit do or exit for statements within loops discouraged?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
What are the different types of loops available in the vbscript language?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
what is the difference between modular and data and keyword driven framework
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
What is select case statement?
what is used of Property........End Property loop ? how to write the script for it?
Which function allows you to instantiate an object given its programmatic identifier or progid?
what is diff between static and dynaic arrys?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
What is the use of the recordset object and which statement is used to create such an object?
how to check whether link is disabled in QTP??
What is the main difference between function and sub-procedure?