Tuesday, 20 March 2012

Working With Multiple Browsers in QTP

We are aware of that multiple instances of QTP can't be running on a single machine. But by using QTP we can work with multiple instances of the Application Under Test. For example, QTP can handle multiple browsers or multiple applications at a time. We can work with 2 applications at a time even without stopping the recording. We should make sure that we configured both Record and Run on any opened applications(Both Windows and Web) under Automation>Record And Run Settings> Select the radio button "Record and Run on any application for both Windows and Web". We have to keep it in our mind that we can't run multiple instances of QTP on a single machine.But we can handle multiple browsers or applications by using single QTP instance....

Step Generator In QTP

Step Generator is a feature and Library of functions which is used for generating the Recordable or Non-Recordable steps. We can launch the step generator by anyone of the following methods. Method#01:By navigating to Insert Menu > Step Generator.Method#02:By pressing F7 short cut key. The Step Generator enables us to add steps by selecting a wide range context sensitive options and to enter the required values.We can define the steps than can use: Test object operations(Tests only) Utility Object operations Calls to Library functions Calls to VBScript functions Calls to Internal functions For example, we can create a step to check whether a particular object exists as well as returned value of a function as output value or as part of the conditional statement. We can parameterize...

Measuring Transaction Time In QTP

In some situations we may need to track the time taken for the script execution or need to track the time taken for a functionality to completed. For example, we can take a Networking application. Assume that we are running the discovery service to identify the list of devices available on the selected network. Here we need to measure the time taken to discover all the devices. QTP provides a Utility object called "Services" which is used to measure the transaction time. Assume that we are going to track the Discovery service of a networking application. '* Starting transaction TimeServices.StartTransaction "DiscoveryService"'* Logic for Discovery Service goes here'* Tracking End timeServices.EndTransaction "DiscoveryService"  We can find StartTransaction and EndTransaction under Insert...

Monday, 9 January 2012

Advantages and Disadvantages Of Automation Testing

This article start with brief Introduction to Automated Testing, Different methods in Automated Testing, Benefits of Automated Testing and the guidelines that Automated testers must follow to get the benefits of automation. Advantages of Automated Testing"Automated Testing" is automating the manual testing process currently in use. This requires that a formalized "manual testing process", currently exists in the company or organization. Automation is the use of strategies, tools and artifacts that augment or reduce the need of manual or human involvement or interaction in unskilled, repetitive or redundant tasks. Minimally, such a process includes:·         Detailed test cases, including predictable "expected results", which have been...

Thursday, 5 January 2012

Waterfall Model

Waterfall model is the first process model to be introduced and widely followed in Software Engineering to ensure the success of the project. In this model, the software development is divided into phases. As the name suggests each phase is frozen before starting the next phase. We have the following phases in Waterfall model. Requirement Specification: The requirements of the system to be developed are captured in this phase. Requirements are nothing but the functionalities and constraints expected from the system to be developed. Requirements are gathered from the customer by consultation or some documents. Then the organization will analyze the validity and the possibility of the incorporation of the requirements with the system to be developed. Based on the analysis the “Requirement...

Page 1 of 3123Next

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | JCPenney Coupons