Action Template is a mechanism in QTP that allows you to include some text in your new actions by default. The text will be included automatically every time you create a new action.
Most of the times, when you are creating test scripts or are designing a new QTP Framework, you would be trying to come up with reusable functions which you would have to store in the function library. Now, in order to use this function
This article is a compilation of some of the most popular blogs, websites, tutorials, forums and groups on QTP. No matter if you are a QTP beginner or an experienced hand, you would definitely find something that would interest you in these places.
Did you know that the VBScript MsgBox that we usually use in QTP can display a string of maximum 1023 characters only? If the length of the string is more than 1023 characters, the MsgBox displays only the initial 1023 characters, leaving out the remaining ones.
This article covers the different aspects of password encryption in QTP. It talks about why password encryption may be needed, how to encrypt passwords using QTP and how to use the encrypted passwords in our scripts. Lets discuss all these points one by one.
To encode or encrypt a password, QTP provides Encrypt method and Password Encoder tool. But what happens when a user wants to find out the decrypted (original) value of an encrypted password? QTP doesn’t provide a direct way to obtain the decrypted/decoded password.
Call is a VBScript Statement that transfers control to a Sub or Function procedure. The syntax of Call statement is – [Call] functionOrSubName [Argument(s)] where, Call is the optional keyword, functionOrSubName is the name of the function or sub to be called, Argument(s) is the comma-delimited list of parameters.
To begin with, lets see what is an object (or test object) w.r.t. to QTP. A test object is an object used by QTP to represent an object in our AUT (Application Under Test). Each test object has a set of identification properties to identify it correctly in the application.