Monday 4 November 2013

Differences between qtp and vb


Difference between QTP script and VB Script.

-> VB Script does not recognize the object. QTP only identify and recognize

the objects.

-> VB script used for above Enhancing tests in QTP.

-> QTP Script follow the vb script syntax. But QTP tool only identify the

object.


Difference between QTP Tool Feature and Vb Script Feature

-> Vb script features are fast Execution compare to QTP Tool Feature

-> If we are using the QTP Tool feature script, its create the internal

registry file. So its occupy the memory location while execution. So the

execution process get slow.

-> But VB Script is not have created internal registry file. so its so fast

in execution.

-> QTP Tool Feature script may corrupt. But VB Script is not corrupt.

-> QTP Tool feature script have limitations.But Vb script doesnt have any

limitation.

Example 1:

For verify Login Operation.

QTP Tool Feature -> insert check point for verify the login operation. it

will create the internal registry file. so its slow for execution.

Vb Script Feature -> Using Conditional statement like IF-ELSE statement

verify the login operation. So its not create internal registry file. SO its

execution fast.


Example 2:


For verify the transaction timing.

QTP Tool feature provide the insert transaction point from start point to

end point for verify the transaction timing. QTP print the output in QTP

Result window. But we cannot export this value into External file adn not

print locally. Because QTP tool feature script have some limitations.

But VB Script feature we use timer function, we can export values into

external file. we can print the value into internally. because vb script

doesnot have any limitations.

From above example, all the tests are used for externally by vb script

feature. But some limitations test are used for externally by QTP script.

No comments:

Post a Comment