Subscribe by Email


Showing posts with label Add-ins. Show all posts
Showing posts with label Add-ins. Show all posts

Monday, October 1, 2012

What are the advantages and drawbacks of QTP?


Though the quick test professional is quite useful like every other object in this world, it has got its advantages and drawbacks. The same thing is going to be discussed here in this article. 

Advantages of Quick Test Professional

1. The quick test professional has got such simplicity that it can be understood easily by even a non programmer and can begin with the testing by adding the test cases.

2. The quick test professional provides support for record and playback of the scripts. Plus it comes with the ability to edit the scripts just after the recording is complete. Different recording modes or options are available with the quick test professional:
    a)   Normal or context sensitive recording mode
    b)   Analog recording mode and
    c)   Low level recording mode

3. Quick test professional (QTP) possesses an excellent object identification mechanism.

4. Quick test professional comes with an extended support for the following add ins:
    a)   SAP
    b)   Oracle
    c)   Java
    d)   .NET
    e)   Siebel
    f)    Main frame or terminal emulators
    g)   Web services
    h)   Web forms and so on.

5. With quick test professional the existing tests and test scripts can be enhanced even if the AUT or application under test in not there with the help of an active screen.

6. Almost all of the popular test automation frame works (such as key word driven, data driven, modular testing approach, hybrid and so on) are supported by the quick test professional.

7. An IDE or integrated development environment is inbuilt in to the quick test professional which is quite easy to use and has got a simple interface. 

8.The scripting language “VBScript” which is used by the quick test professional is just like English and can be learned easily. There are plenty of sources via which one can learn VBScript.

9. In many of the test automation suites it is found difficult to implant the MOM i.e., the Microsoft object model but in quick test professional it is an easy task to do.

10.To make quick test professional further better it can be embellished with other test management tools such as the HP QC or quality center, functional testing tools such as winrunner and test management tools such as test director and so on. Once the tests have been mapped to the automation scripts, they can be executed directly from the HP quality center. Also, winrunner test execution can be kicked off by the quick test professional.

11.With quick test professional several types of suites can be maintained namely:
    a)   Sanity
    b)   Smoke
    c)   Regression and so on.

12. Like most of the test automation suites it provides support for xml.

13. Excel or data base files can be used easily in quick test professional with a variety of methods to use them.

14. Data and the test iterations can be easily maintained.

15. Test reports provided by the quick test professional are complete with all details required for analysis.

Drawbacks of Quick Test Professional

1. Proves to be costlier than any other test automation suite in terms of license and maintenance.

2. It does not support multiple threads and instances execution.

3. It will be surprising to know that the quick test professional has got no high speed rather it has got much slower speed than most of the open source tools such as selenium.

4. Support is provided from HP QC only on the renewal of the license.

5. Add- ins (such as SAP, oracle, java, .net, Seibel, peoplesoft and so on) have to be purchased separately.


Friday, September 7, 2012

How will you handle Java tree in QTP?


In this article we shall talk about how to handle java trees in quick test professional. But first let us see what a java tree actually is.

What is a Java Tree?

- Java tree is a data structure unique to java which can be used to display hierarchical data. 
- Java tree does not essentially holds or stores data rather it just provides the user with a view of the data i.e., in the way the data has been actually organized in the software system or application.
- The java tree obtains all this data by generating queries to the data model just like any other non- trivial swing component. 
- The data in a java tree is represented in a vertical manner. 
- Each row in this vertical representation displays only one data item called a node. 
- Each java tree has got it roots in the root node and this is from where all the branches of the tree descend. 
- In the default mode, the root node of a java tree is automatically displayed but this view can be modified. 
- The branch nodes are also referred to as children.
- The branch nodes can be expanded and collapsed as required. 
- Identification of a specific node in the tree can be done via a tree path. 
- A tree can be thought of as a container class that consists of elements of the type node. 
- These node elements can be thought of as thin cover over the actual data which has to be assigned some generic type. 
- These nodes cover the actual data which has to be represented by the means of a hierarchical data structure i.e., nothing but the java tree. 
- The java trees don’t become useful on their own. 
- They become useful when one can store and retrieve some tasks via them from the data base of the application.  
- Java trees are the one kind of the data structures which can represent the data in its true hierarchical manner. 
- It is possible for a node not to have any children whereas in other cases a node may have a large number of children and such nodes are referred to as branch nodes.

How to handle Java tree in QTP?

Java trees have a place in quick test professional also and now we going to discuss how to handle one. 
- For handling a java tree in quick test professional it is required that a java add–in is installed in the quick test professional. 
- In the tools menu there is one drop down list available by the name of “object identification”. 
- In this drop down list you will get one option “java” which facilitates the recognition of the objects. 
- Now from this drop down list select the tree option. 
- All you have to do is to add the properties that you want to be identified. 
- Just after doing this the quick test professional will be able to recognize the java tree. 
- If not this way you can even use DOM for the same purpose. 
Here what you need to do is to make an appropriate code selection from the back ground and have it modified accordingly. 
- Another way can be to first select the option “JavaAdd” and then launch the quick test professional. 
- Your next step will be to record all the operations that are being performed up on the java tree. 
- If you face any problem with this way then you can try going back to the java tree object properties and modify the assistive and mandatory properties for easy identification. 
- You may face some difficulty while trying to expand all the nodes of the java tree even by using expandpath and expandrow commands.  


Facebook activity