1.

What Are The Different Types Of Tasks To Be Performed During Test Automation?

Answer»

Tasks to be performed:

a) Analyzing the application in terms of Object Identification:

we have to analyze the AUT in terms of Object Identification.

Basically, QTP is an Object based test tool, here first we have to confirm 

if the QTP is recognizing all the objects in our application or not.

To do this, we can follow one or more below given methods...

  • Record and playback some End to End Scenarios.
  • Using Object SPY
  • Using Object Repository Manager

 We can segregate Software Objects in 3 categories...

  • Static Objects(Properties information is constant)
  • Dynamic Objects(Properties info changes dynamically)
  • Duplicate Objects(Having Similar property info.)

Note: We can handle dynamic Objects using Regular expressions and handle duplicate

Objects using "Index" property. 

b) Selecting Areas/Test Cases for Automation 

Overview: 

100% test automation is not possible, we can go for MAXIMUM automation.

Generally we select below type of Tests for Automation:

  • Tests that we have to execute on every build (EX: Sanity Tests)
  • Tests that we have to execute on every modified build (Ex: Regression Tests)
  • Tests that we have to execute with multiple SETS of test data.(Ex: Data Driven Tests) 
  • Tests having complex FUNCTIONALITY 

c) Planning (Effort estimation, Schedule, Work allocation and Automation Framework implementation)

Overview: 

After selecting some areas for Automation, we have to estimate the efforts

in terms of Scope of the Project, time and resources(Environmental and Human)

To estimate efforts, we can follow an one of the below given methods:

  • Using Expert based techniques.
  • Experienced based techniques.
  • Function point analysis.
  1. Identifying End to End Scenarios.
  2. Identifying verification points.
  3. Identifying General and Alternate Flows.
  4. Identifying the modularity.
  5. Identifying the complex functionality. 

d) Creating Generic and project specific functions.

e) Creating required Automation resources(Functions, Object repository Files, Environment variable files---etc)

f) Creating Tests(Using Object Repository or Descriptive Programming)

g) Enhancing Tests(Inserting Checkpoints, Output Values, Transaction points, Flow Control Statements, Synchronization, Parametrization---etc )

h) Debugging and running tests(Individual test execution, Test Batch execution --etc)

i) Defining and exporting test results

j) Analyzing results

k) Defect Reporting using Our Company defect management system.

l) Modifying resources and tests (if required)

m) Performing Re and regression testing 

n) Maintaining Automation Resources 

Tasks to be performed:

a) Analyzing the application in terms of Object Identification:

we have to analyze the AUT in terms of Object Identification.

Basically, QTP is an Object based test tool, here first we have to confirm 

if the QTP is recognizing all the objects in our application or not.

To do this, we can follow one or more below given methods...

 We can segregate Software Objects in 3 categories...

Note: We can handle dynamic Objects using Regular expressions and handle duplicate

Objects using "Index" property. 

b) Selecting Areas/Test Cases for Automation 

Overview: 

100% test automation is not possible, we can go for maximum automation.

Generally we select below type of Tests for Automation:

c) Planning (Effort estimation, Schedule, Work allocation and Automation Framework implementation)

Overview: 

After selecting some areas for Automation, we have to estimate the efforts

in terms of Scope of the Project, time and resources(Environmental and Human)

To estimate efforts, we can follow an one of the below given methods:

d) Creating Generic and project specific functions.

e) Creating required Automation resources(Functions, Object repository Files, Environment variable files---etc)

f) Creating Tests(Using Object Repository or Descriptive Programming)

g) Enhancing Tests(Inserting Checkpoints, Output Values, Transaction points, Flow Control Statements, Synchronization, Parametrization---etc )

h) Debugging and running tests(Individual test execution, Test Batch execution --etc)

i) Defining and exporting test results

j) Analyzing results

k) Defect Reporting using Our Company defect management system.

l) Modifying resources and tests (if required)

m) Performing Re and regression testing 

n) Maintaining Automation Resources 



Discussion

No Comment Found