I am using descriptive programming for my project.when QTP
deosn't identity or recognize a object by record and
playback method,is it possible to make QTP identify that
object using descriptive programming?
Note: The object doesn't have unique properties and same
properties used in Record and playback are only available,
no extra properties are defined.
Answer Posted / guest
As per my knowledge, QTP can recognize all type of objects
through descriptive programming. For that u need to create
object with the help one properties only i.e nothing
but "micClass". then set index property for remaining
object.
Example for Link object
=======================
set linkDesc = Description.Create()
linkDesc ("micClass").Value = "Link"
EditDesc("Index").Value = "0"
Browser("Browser Name").Page("Page Name").Link
(linkDesc ).Click
==========================
If u will change the index value, then it will click
accordingly.
I hope, it will resolve your problem.
Thanks,
-Akshaya-
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
Have you used xml check point in your project?
How can you identify the browser and its information using QTP script?
Explain the qtp test phases.
how to test Web application using QTP software
What are the differences between quicktest professional and winrunner?
How to handle the exceptions using the recovery scenario manager in qtp?
What is a quick test professional?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Can launch two instances of qtp on the same machine?
Have you faced any problems with object repository?
who QTP recognizes the object stored in object repository?
Can you list some technologies that support qtp?
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?