Definition of Tests

As a prime entry point defining the test needs a idea to classify the scripts into finer elements of functions each contributing the various aspects of automation Techniques.

Looking into this perspective the elements of the Automation Script would require the Record Play Back techniques, details of the application as better understood as Objects in tools, execution of Business Logic using loop constructs, and the test data accessibility for either Batch Process or any Back end operations. Ultimately we need this entire salient features to function at the right point of time getting the right inputs. To satisfy these criteria we require a lot of planning before we start automating the Test Scripts.

Test Recorder

In automation tools the Test Recorder is of two modes Object based and Action Mode. It requires a meticulous but yet a simplified approach on which mode to use. Though it is inevitable to avoid Action mode, it is still used for many at TE Based applications. As a best practice the object based is widely accepted and mandatory mode of operation in Test Automation. To the extent possible we will avoid Action based functions and stick on the object mode of operation.

Generic Test Environment Options

Some common Settings we need to set in General Options:

1. Default Recording Mode is Object mode

2. Synch Point time is 10 seconds as default

1. When Test Execution is in Batch Mode ensure all the options are set off so that the Batch test runs uninterrupted

2. In the Text Recognition if the Application Text is not recognizable then the Default Font Group is set. The Text Group is identified with a User Defined Name and then include in the General Option.

Test Properties

1. Every Script before recording ensure that the Test properties is in Main Test with the defaults

2. Do not entertain any Parameters for Main Test

3. It is not a good practice to load the Object library from the Test Options (if any). Rather the Object library is loaded from the Script using the suitable tool commands. This would actually avoid the hidden settings in the Script and also the ease of Setting the Object library Load and Unload can be better done dynamically in the Test Script rather than doing it manually every time the Test Suite is ran.

4. Ensure the Add-ins is correct from the Add-ins tab.

4.2

RELATED POST

SOFTWARE DEVELOPMENT PROCESS PART ONE

0 comments

Post a Comment