| From : qtp10.com
Not yet published.
Sometime back we asked on facebook that who all are interested in learning the QTP for free. Reason for asking is – I don't understand why people are spending hundreds of $$ on QTP trainings. There are recourses available at affordable prices. The resource we are talking about is a Book – QTP Unplugged by Tarun Lalwani. About Book: QTP Unplugged is the first book on QTP and it is the best seller. The writer is Tarun Lalwani. I pre-order this book in April 2009. When I got the book Tarun... Read Full Story
| From : qtp10.com
Not yet published.
Debugging scripts : Debugging suggestions include: 1. Use the Watch Expressions Tab in the Debug Viewer pane to display the values contained in variables 2. Step through the script one line at a time 3. Use the msgbox function to pause the test and display values contained in variables or retrieved from the application. Example: txt = Window("Notepad").WinEditor("Edit").GetROProperty("text") msgbox txt 4. If the replay error is related to not being able to identify an object, determine which... Read Full Story
| From : qtp10.com
Not yet published.
Debugging suggestions include: 1. Use the suggestions above for debugging a script. 2. Verify the code works when it is not within a function. If the code does not work when it is not in a function in a QuickTest Professional (QTP) script or within a pure VBS script (while QuickTest Professional is not in use), it will not work when it is placed within a function. The following example shows the step by step process of debugging a simple function. Example: Function ex_func(obj, txt) msgbxo... Read Full Story
| From : qtp10.com
Not yet published.
Potential benefits of using Software Test Automation tools include: 1. Repetitive work is reduced (e.g. running regression tests, re-entering the same test data, and checking against coding standards). 2. Greater consistency and repeatability (e.g. tests executed by a tool, and tests derived from requirements). 3. Objective assessment (e.g. static measures, coverage and system behaviour). 4. Ease of access to information about tests or testing (e.g. statistics and graphs about test progress... Read Full Story
| From : qtp10.com
Not yet published.
You can define a message that QTP sends to your test results. For example, suppose you want to check that a password edit box exists in the Login Form. If the edit box exists, then a password is entered. Otherwise, QTP sends a message to the test results indicating that the object is absent. To send a message to your test results: In the Keyword View, select a step and choose Insert > Step > Report or right-click a step and choose Insert Step > Report. The Insert Report dialog box opens... Read Full Story
| From : qtp10.com
Not yet published.
Below is the QTP Code to get file creation Date and Time: Set f1 = CreateObject("Scripting.FileSystemObject") Set f2 = f1.GetFile("D:\Generic Test Plan.doc") S = "File was Created on: "&f2.DateCreated Msgbox S Read Full Story
| From : qtp10.com
Not yet published.
With the help of FileSystemObject, we can get the List of all subfolders in QTP. Lets assume that Folder Structure is: Set a = CreateObject("Scripting.FileSystemObject") Set b = a.GetFolder("D:\PFolder") Set c = b.SubFolders For Each d in c e=e&d.name&vbnewline Next msgbox e Read Full Story
| From : qtp10.com
Not yet published.
A cookie is a small piece of information stored by the browser that applies to a Web page. Each cookie can store up to 20 name=value; pairs called crumbs, and the cookie is always returned as a string of all the cookies that apply to the page. This means that you must parse the string returned to find the values of individual cookies. You can retrieve cookies for a specific URL with two methods: Method 1 : GetCookies msgbox Browser("Google").GetCookies(" http://www.google.com") Method... Read Full Story
1. How can you add recordable or non-recordable operations to your test? (Select three.) A. Use the Step Generator. B. Insert through Keyword View. C. Drag objects from the object repository. D. Drag objects from the Active Screen. E. Drag objects from Available Keywords. F. Drag objects from the Data Table. Answer: ABE 2. What is a QuickTest Professional test comprised of? A. calls to actions B. calls to actions (reusable only) C. calls to QuickTest Professional tests D. calls and copies of... Read Full Story
| From : qtp10.com
Not yet published.
Description Programming - Enumerating ChildObjects. In this tutorial, We will learn the basics of ChildObjects i.e. to count the number of objects available in a webpage.We will do following exercises: 1. Count the number of text boxes available in the webpage 2. Enter data in all the textboxes in a webpage 3. Count the number of check boxes available in the webpage 4. Check All Checkboxes in the webpage 5. Count the number of buttons available in the webpage 6. Count the number of Links... Read Full Story

