Monday 4 November 2013

QTP Test Design

1)  Test Design - Generating basic tests.

Means creating plan navigation.

Two methods for Generating basic tests

i) Object Repository based tests.

-> Recording

-> Keyword Driven Methodolgy (Generating tests manually using shared object

repository without recording)


ii) Descriptive Programming (without OR)/ Programmatic Descriptions

-> Static Programming

-> Dynamic Programming


iii) Hybrid Approach (Mixed minimum two approach)

Mixed using OR based and Descriptive programming.




2) Test Design - Enhancing Tests ( Its critical)


-> Modifying test and Enhancing test both are different

Modifying Test = Based on change in requirement we modify the test scripts.

Enhancing Test = Irrespetive of requirements we add below steps into the

script.

Inserting verification Point
Adding Comments
Error handling information
Synchronization if required
parenthesis if required


-> 12 Enhancing Methods

Inserting Checkpoint (QTP Tool Feature) -> 9 standared and 3 hidden

checkpoint. File content checkpoint newly added in UFT. But QTP 11.0 does

not have this feature. so its have only 11 checkpoint

Its verification point. its take the input value from user (Expected Result)

and compare with (Actual result) during execution and provide the (Test

result).


Inserting output values -> Totally 7 ouput values.File content output value

newly added in UFT. But QTP 11.0 does not have this feature. so its have

only 6 output value

It captures output during execution and stored in runtime datatables


Parameterization - Process of replacing constant values with parameter.

Advantage  is to pass dynamic values, to pass multiple values.


Synchronization -  sync the speed of QTP and test application in order to

get currect result during the execution.

No comments:

Post a Comment