What is Batch Testing:
Executing a series of test all together. This is the advantage of Automation. Test batches without human interaction.
Four ways to run batch in UFT:
1) Using "Test Batch runner" Tool
2) Using AOM (Automation object model)
3) Using driver script in automation framework
4) Using HP-ALM
How to run Test batch Runner
Open the Test batch runner. Start >>Hp Software>> UFT >>Tools>> batch Runner
Tools>> Add folder. Once added, the screen will look like this. Select the tests that you want to run
The test will look like this. The tests are added into the runner.
Save the run. The test is saved as .mtb
Now run the test
Here.. UFT will be opened and Test will be executed - Top to bottom run. Test result can be found in the directory of the test.
Test Run using AOM
Automation Object model is exclusively for Automation purpose. Hence it is a private object model, unlike Excel object model or word object model, which are global object model.
Note: Dont run AOM from UFT tool editor. Its not UFT script. Its VB Script.
Write the code into notepad and save as .vbs extension
Run the code.
The code is successfully run and report will be present.
Batch Testing in UFT
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment