Submit Blog Login Last Submitted Blogs RSS Archive Contact  
HP QuickTest Professional 10
 
 
 
HP QuickTest Professional 10
This is a new and completely free website that offers help in all the versions of HP QuickTest Professional (including latest version 10). More importantly, it offers free code for users of HP QuickTest Professional! This site helps you in learning the basics of QTP and advanced programming in Quicktest Professional (QTP) on various environments like - .Net, Infragistics, Web, Windows, etc.
Language: English
RSS Feeds for this Blog
Statistics
Unique Visitors: 459
Total Unique Visitors: 1870035
Visitors Out: 1588
Total Visitors Out: 5794
 
 
Articles
Challenging QTP Questions | Judge yourself in QTP
2010-01-25 01:43:00
Part 1 1) How a variable can be made to be accessed by all the Actions of a Test? Hint: a) By using GlobalDataSheet b) By using Environment variable c) By Public Function   2) Which Environment variable is used to read product License from a File? Hint: LSHOST 3) The General Error message that appears on loading a file using Environment.LoadFile method is “The format of File is incorrect”. What type of Files can be loaded?   4) How can you add a run-time property to a Test object?   5) How can you add a custom property to a Test object?   6) What are the other environments supported by QTP?   7) Find out the Error Browser(“Welcome:MercuryTours”).Page(“Itinerary:MercuryTours”).Check Checkpoint(“text:=Itinerary”)   8) The f...
 
Dictionary Object and QTP
2009-12-29 02:26:00
A little introduction about Dictionary Object:   The Dictionary object is used to store information in name/value pairs (referred to as key and item). The Dictionary object might seem similar to Arrays, however, the Dictionary object is a more desirable solution to manipulate related data. Comparing Dictionaries and Arrays: Keys are used to identify the items in a Dictionary object You do not have to call ReDim to change the size of the Dictionary object When deleting an item from a Dictionary, the remaining items will automatically shift up Dictionaries cannot be multidimensional, Arrays can Dictionaries have more built-in functions than Arrays Dictionaries work better than arrays on accessing random elements frequently Dictionaries work better than arr...
 
Sending Keyboard Input to an Application by QTP
2009-12-29 02:10:00
The example below uses the PressKey method to send keyboard input to an application.   The PressKey method uses the ASCII value for the key. 63 is the ASCII value for F5. ASCII values for other keys: F1 - 59 F2 - 60 F3 - 61 F4 - 62 F5 - 63 F6 - 64 F7 - 65 F8 - 66 F9 - 67 F10 - 68 F11 - 87 F12 – 88   1: 'An example that presses a key using DeviceReplay. 2: Set obj = CreateObject("Mercury.DeviceReplay") 3: Window("Notepad").Activate 4: obj.PressKey 63 ...
 
Web application performance testing using QTP
2009-12-03 03:58:00
QTP is a functional automated testing tools, and the page loading time or  response time of a web application should be a performance testing thing.But as a matter of fact, QTP can also get page load time statistics by some functions. Because QTP using a VBS script and VBS script is so powerful that it can call any windows of the COM components and objects. So the idea of getting page load time is very simple, that is, we want to use VBS for IE page and get statistics of the page load time. Implementation steps: using createobject to create an instance of IE to access the document object; using document object when the page loads readystate properties of various stages of acquisition time, using timer () to achieve millisecond statistics.   in order to facili...
 
Call external file and applications in QTP
2009-11-08 07:34:00
There are various ways through with we can call files and applications in QTP. Below are the four very simple ways: Method 1. Use "InvokeApplication" command - Invokes an executable application. Note: In most situations, you should use a SystemUtil.Run statement to run applications or to open files in their default application.  The InvokeApplication statement is supported primarily for backward compatibility. Example: The following example uses the InvokeApplication function to open Internet Explorer. InvokeApplication "E:\Program Files\Plus!\Microsoft Internet\IEXPLORE.EXE".   Method 2. The use of "SystemUtil.Run" command - Runs a file or application. When specifying a non-executable file, the file opens in the associated application....
 
QTP 10 Release Updates
2009-10-25 23:29:00
New - QuickTest Professional 10.00 Release Update The QuickTest Professional 10.00 Release Update (Patch QTP_00626) is a cumulative patch that updates your QuickTest installation with the latest files from a set of patches and hotfixes that have been released over QTP 10. You can install the Release Update even if you have already installed one or more of the individual patches or hotfixes it contains. http://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QTP_00626 A detailed description of each patch and hotfix can be found in the 'HP QTP 10 Release Update - Release Notes' file, available at: http://update.external.hp.com/quicktest/10.0/QTP10RU_ReleaseNotes.html     New Web 2.0 Feature Pack for HP Functional Testing 10.0 – Available Now! Mo...
 
QTP Vs Selenium
2009-08-30 07:42:00
1. Actual end user simulation, Is the test conducted using this tool equivalent to an end user action?   Selenium performs actions in the background on the browser. It modifies the DOM structure of the HTML page in order to perform actions on the page. To be more precise it executes javascript on UI objects within the webpage to perform actions like click, type, select etc. This is the reason why you can execute tests with the browser minimized.   QTP claims to perform end user simulation, in other words executing QTP scripts is equivalent to a person performing those steps manually on the application.   2. Support for most UI Components   Selenium Certain events, methods and Object properties are not supported by selenium. But broadly most UI components...
 
Using Action Parameters in QTP
2009-08-08 23:02:00
Action parameters enable you to transfer input values from your test to a top-level action, from a parent action to a nested action, or from an action to a sibling action that occurs later in the QuickTest Profession test. Action parameters also enable you to transfer output values from a step in an action to its parent action, or from a top-level action back to the script or application that ran (called) your test. For example, you can output a value from a step in a nested action and store it in an output action parameter, and then use that value as input in a later step in the calling parent action.   You can use action parameters in any step in your action (including function calls). You define the parameters that an action can receive and the output values that it can ...
 
Specify Action's Input Parameters in QTP
2009-07-19 09:48:00
You can specify input parameters for an action so that steps in the action can use values supplied from elsewhere in the test. Input values for an action parameter can be retrieved from the test (for a top-level action) or from the parameters of the parent action that calls it (for a nested action), or from the output of a previous action call (for a sibling action). You can specify output parameters for an action, so that it can return values for use later in the test. For example, you can output a parameter value to a parent action so that a later nested action can use the value.   For each input or output action parameter, you define a name (case sensitive), a type, and optionally, a description. You can also specify a default value for each action input parameter, or you ...
 
Inserting a Call to an Existing Action in QTP Scripts
2009-07-19 09:34:00
You can insert a call to a reusable action that is stored in your current test (local action), or in any other test (external action). Inserting a call to an existing action is similar to linking to it. You can view the steps of the action in the action view, but you cannot modify them. The called action's local object repository (if it has one) is also read-only.   If the called external action has data in the Data Table, however, you can choose whether you want the data from the action's data sheet to be imported as a local, editable copy, or whether you want to use the (read-only) data from the original action. (Columns and data from the called action's global data sheet is always imported into the calling test as a local, editable copy.)   To modify a called...
 
 
 
 
eXTReMe Tracker