QTP Automation Testing Process

Testing with QuickTest involves the following main stages:



Quick Test Professional add-in information in 10.0

Learning Quick Test Objects:
Quick Test "looks" at the object being learned and stores it as a test object determining in which test object class it fits.Quick Test might classify the test object as a standard Windows dialog box (Dialog), a Web button (WebButton), or a Visual Basic scroll bar object (VbScrollBar).



Next Quick Test "considers" identification properties for the test object. For each test object class, QuickTest has a list of mandatory properties that it always learns.


When Quick Test learns an object, it always learns these default property values, and then "looks" at the rest of the objects on the page, dialog box, or other parent object to check whether this description is enough to uniquely identify the object. If it is not, QuickTest adds assistive properties, one by one, to the description, until it has compiled a unique description.If no assistive properties are available, or if those available are not sufficient to create a unique description, QuickTest adds a special ordinal identifier, such as the object's location on the page or in the source code, to create a unique description.

QuickTest Objects Identification During the Run Session:

QuickTest searches for a run-time object that exactly matches the description of the test object.It expects to find a perfect match for both the mandatory and any assistive properties it used to create a unique description while learning the object. As long as the object in the application does not change significantly, the description learned is almost always sufficient for QuickTest to uniquely identify the object. This is true for most objects, but your application could include objects that are more difficult to identify during subsequent run sessions.


QuickTest uses a process of elimination with its Smart Identification mechanism to identify an object, even when the learned description is no longer accurate. Even if the values of your identification properties change, QuickTest maintains your test's reusability by identifying the object using Smart Identification.


Test Object Model Concept:
A test object is an object that QuickTest creates in the test to represent the actual object in your application. QuickTest stores information on the object that will help it identify and check the object during the run session.


A run-time object is the actual object in your application on which methods are performed during the run session.



Object repository:When QuickTest learns an object in your application, it adds the corresponding test object to an object repository. You can add test objects to an object repository in several ways. For example, you can use the QuickTest Navigate and Learn option, add test objects manually, or perform an operation on your application while recording.

2 comments:

  1. Nice post shared. This post have some nice links shared about the testing methodologies. I really get some nice steps about the QTP testing procedure that how the processing is being start and comes to end after all the initializations.Thanks for sharing such a informative post..

    Automation Testing Services

    ReplyDelete

Note: only a member of this blog may post a comment.