When we use Object Spy?
can we write QTP script before built is came in testing?

Answer Posted / raj

When we use record and play back method in QTP, QTP
automatically identifies the objects and store them in
object repository. In some cases where QTP fails to
identify like alert windows, alert messages we use object
spy to capture the object manually.

In other cases like key word driven framework, while
creating the test scripts we use object spy and based on
the type and class of the objects, we can use the
respective keywords.

We can write QTP scripts before the build is released based
on the wireframes/mockups provided. If the
wireframes/mockups are not available, discuss with the
developers and know the nature of the objects. Based on
that we can create scripts. Ultimately the aim must be
independant or min. use of record and playback.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes are there?

789


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

774


How you can replace string in qtp?

789


regular expression in qtp standar check point for months from accepting months from january to december only

1681


How many types of actions are there in quicktest professional (qtp)?

728


What are table and db checkpoints?

806


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1943


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

762


If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

1519


What is post recovery scenario?

1883


What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

790


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

695


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3282


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5579


What is the difference between the keyword view and expert view?

733