Tuesday 22 October 2013

Batch Testing using QTP



Executing Punch of testcase or series of tests

For Manual testing, each an every tetscases have the human interactions. But Automation tool with out human interactions its run group of testcases.


Four possibilities for Batch testing

1) using "Test Batch Runner Tool"  (Tool Feature
2 )using AOM Scripts (Automation Object Model) Vbscript feature
3)Using Driver Scripts in Automation Framework
4) Using Quality Center Tool (Test Management Tool)



1) Steps For Batch testing using test batch runner tool


a) Generate Basic test and run them once.
b) Launch Test Batch Runner Tool and Create test batches
c) provide permission to Test batch runner tool to Execute tests
d) Run Test Batches



Example :

a) Generate the basic test and run them once

b) Launch Test batch runner tool and create test batches

Start-> Program-> HP QTP -> Tools-> Test Batch Runner

Test batch saved as ext .mtb (Module test batch)


Batch -> Add -> select the test  repeat this steps and add all the tests which we run bulk.




c) provide permission to Test batch runner tool to Execute tests


 QTP -> Tools -> options-> Select Run from option window-> Check Allow other HP products to run tests and components (CTRL+ALT+F5)


 
d) Run Test Batches (Test batch Execution Process)

Test Batch runner launches and give instruct to the QTP, then QTP run the tests. Test batch runner not execute the tests. QTP only Execute the test.

Based on instruction from testbatch runner, QTP execute the test one by one.


Launch Test batch runner which we saved as .mtb.-> Slect the test which we want to run -> from menu Batch-> Run (F5)


Then its automatically launches the QTP and run the tests

e) See the results

Open the each an every test -> See the result in Test Result viewer   

We cannot see the result in the Test Batch Runner Tool. For clear test reslt from Result viewer, we can use test deletion tool.


Advantage

-> We can run all batch test or Partial test at week end.


DisAdvantage

-> Its not provide the result as per the batch test.We need to open each an every test and analysis the result.


QTP supports three feautures

1) QTP direct features- Recording, Object Repository, Checkpoint,Datatable
2) Integrated Tool from HP -> Password Encoder, Test Result deletion tool , Test Batch Runner

3)


Manual testing -> its Sequential Testing. because output from one testcase,input of other testcase. because manual tetsing need human interaction.

Automation testing -> Its End to End Testing. because no need human interaction.

2 comments:

  1. Thanks a lot for explaining practically. Fantastic Post! QTP Training Institutes in Chennai . Get more information

    ReplyDelete
  2. ¡Estoy en la nube gracias a tu blog, que me llena de gratitud infinita! Optimice su flujo de trabajo con Contador De Clicks: cuente los clics y alcance sus objetivos.

    ReplyDelete