we have a link in a website or webtable How can we record
link in that table or site? link is not static we don't
know exact location of that link? how ? if u know pls give
reply with script also?
Answer Posted / naaz
Descriptive programming will solve this problem. You have
to write the property name and you can assign the dynamic
value of that property. The problem with descriptive
programming is, if you are using descriptive programming
for the top level object you have to use the descriptive
programing for the child objects also. But if you are using
it for child objects you dont neet to use for parent
objects.
Example of Descriptive Programming:
JavaWindow("title:="&Value12).Activate
here title is the Object Property. And Value12 is its
value. you can use dataTable also for the value
Example:
JavaWindow("title:="&DataTable
("Value",dtLocalSheet)).Activate
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
What are the Application Functions available in QTP?
how to evalute defects in QTP script?
Discuss the QTP Environment?
Difference between test object and run time object?
The hybrid framework can be implemented for any application. Is it true?
When do go for loop condition in test?
What is recovery scenario in qtp?
What is object repository in qtp?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Which recording modes need more memory?
What are the differences between quicktest professional (qtp) and winrunner?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
Explain the concept of object repository and how qtp recognises objects?
Explain the Different types of QTP test assets and their extensions?