Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


QuickTest testing process
2008-04-25 00:59:00
The QuickTest testing process consists of seven main phases: Preparing to record Before you record a test, confirm that your application and QuickTest are set to match the needs of your test. Make sure your application displays elements on which you want to record, such as a toolbar or a special window pane, for example, and that your application options are set as you expect for the purposes


When to use regular expression and when to avoid it?
2008-04-24 01:53:26
Regular expression s enable QuickTest to identify objects and text strings with varying values. You can use regular expressions when: ➤ defining the property values of an object in dialog boxes or in programmatic descriptions ➤ parameterizing a step ➤ creating checkpoints with varying values Regular expression is help us to smoothly run our script if there is any change in string which we can't


Accessibility checkpoints
2008-04-23 07:57:38
If you did not choose to add accessibility checkpoints automatically while recording, you can add an accessibility checkpoint to help you quickly identify areas of a particular Web page or frame that may not conform to the W3C Web Content Accessibility Guidelines. You can add accessibility checkpoints either while recording or editing your test. If the page contains frames, the Object


Recovery Scenario
2008-04-23 04:53:55
Unexpected events, errors, and application crashes during a run session can disrupt your run session and distort results. This is a problem particularly when running components unattended—the component is suspended until you perform the operation needed to recover. The Recovery Scenario Manager provides a wizard that guides you through the process of defining a recovery scenario—a definition


Test automation framework
2008-04-23 04:33:53
A test automation framework is a set of assumptions, concepts, and practices that provide support for automated software testing. A choice for an automated testing team that's just getting started might be to use a test automation framework, defined as a set of assumptions, concepts, and practices that constitute a work platform or support for automated testing. Test Script Modularity Framework:


Merging Shared Object Repositories
2008-04-22 07:40:37
QuickTest Professional provides the ability to merge existing assets from two repositories into a single shared object repository using the Object Repository Merge Tool. This tool enables you to merge two shared object repositories (called the primary object repository and the secondary object repository), into a new third object repository, called the target object repository. Objects in
Read more: Merging

Viewing Merge Statistics
2008-04-22 07:35:11
After you merge two object repositories, the Object Repository Merge Tool displays the Statistics dialog box, which describes how the files were merged, and the number and type of any conflicts that were resolved during the merge. You can view the merge statistics in the Statistics dialog box at any time by choosing View > Statistics in the Object Repository - Merge Tool window or by
Read more: Viewing

WebFile Object
2008-04-22 07:19:28
WebFile Object is an edit box with a browse button attached, used to select a file from the File dialog box. The event recorded on webfile object will save as webfile.set etc. For example Browser("Buy, Sell, Rent Residential").Page("Personal Profile Page").WebFile("uploadPic").Set "C:\Program Files\Mercury Interactive\QuickTest Professional\Tests\IndependentUserProfile\image.JPG" The


Using Object Spy
2008-04-22 04:18:27
The Object Spy feature enables you to view the run-time object methods and the test object methods associated with an object. Object Spy also enables you to view the syntax for a selected method. To view the run-time properties of an object using Object Spy: 1. On the QuickTest Professional toolbar, click OBJECT SPY. The OBJECT SPY dialog box appears. Alternatively, select TOOLS → OBJECT SPY. 2


Video to export data present in QTP Datatable to an ".xls" file?
2008-04-21 01:25:44
To export data sheet in QTP, when the sheet data is static, just right click the sheet, select the export option and browse the location, where you want to save the excel file and click ok. QTP data sheet will exported to your system. See video for help. If your sheet get data at run time then you can use DataTable.Export method. For ex. DataTable.Export ("C:\flights.xls") It will export the


Reporter.filter
2008-04-19 04:41:19
Generally when we write a script, or record script and insert checkpoints. The test fails if checkpoint fails. But we can validate this scenario that if checkpoint fails we should get a message, or we can report it in our test result. If script run smooth, but checkpoint fails, still our test will pass. Try this code:- Reporter .Filter = rfDisableAll ‘This will disables all the reporting stuff


Running and Closing Applications Programmatically
2008-04-18 01:57:16
In addition to using the Record and Run dialog box to instruct QuickTest to open a new browser or application when a test run begins, and/or opening the application you want to test manually, you can also insert statements into your test that open and close the applications you want to test. You can run any application from a specified location using a SystemUtil.Run statement. You can
Read more: Applications

Very common question- How to automate " Image verification" in QTP?
2008-04-18 00:00:55
Hi friends, when I start working on QTP, I also phase the same question. How I will automate verification code? I found this problem when I was automating a registration form. You may see the form, and verification code, which user have to enter (Required field) to complete registration process. See this image for help. Answer of this question is:- Actually we can't automate"image verification",
Read more: Image

InvokeApplication Statement
2008-04-17 02:21:25
InvokeApplication statement invokes an executable application. The following example uses the InvokeApplication function to open Internet Explorer. InvokeApplication "C:\Program Files\Internet Explorer\IEXPLORE.EXE""C:\Program Files\Internet Explorer\IEXPLORE.EXE" is the location of internet explorer executable application. You may set it according to your system and installation folder.Syntax


How QTP's identify objects
2008-04-16 05:24:37
QTP's identify objects through a parent-child methodology and use object repository to get the object description. For example, if you have to access a WebEdit object on a given Page (A page is a child of Browser), after recording script would look something like this: Browser("Name").Page("PageName").WebEdit("Name").Event Event can be click, setfocus etc. Now we have two options for our


Setting Testing Options
2008-04-15 07:50:03
You can use the Setting object to set the value of a testing option from within the test script. To set the option, use the following syntax: Setting (testing_option) = new_value Some options are global and others are per-test settings. Using the Setting object with a global testing option changes a testing option globally, and this change is reflected in the Options dialog box. For example, if
Read more: Testing

Work with external data table
2008-04-15 05:00:24
Create an excel file in c: drive like it. Name it userid.xls. Save the excel sheet. Now open QTP. Switch to expert view. Write this Script. DataTable.Import("C:\userid.xls") Above statement will import excel sheet. msgbox datatable.GetRowCount This statement will give you the count of total no. of rows in the sheet. In my sheet they are 6. DataTable.SetCurrentRow("1") Set the row1 as


Object Repository Manager
2008-04-15 02:38:52
The Object Repository Manager enables you to manage all of the shared object repositories used in your organization from a single, central location, including adding and defining objects, modifying objects and their descriptions, parameterizing repositories to make them more generic, maintaining and organizing repositories, merging repositories, and importing and exporting repositories in XML


QTP Test Directory Structure
2008-04-14 08:51:23
When saving a test, you assign it a name. A test name directory is automatically created and all the files related to the test are saved in the test name directory. By default, QuickTest creates certain files and directories in each test directory, including: • ACTION0: This directory contains files that control all actions, except ACTION0, in the test directory. • ACTION1: This directory
Read more: Directory , Structure

QTP interview question
2008-04-14 06:56:33
1. What is the purpose of loading an add-in? a) To help the performance of QuickTest Professional. b) To restore the layout of the QuickTest window so that it displays the panes in their default sizes and positions. c) To enable QuickTest Professional to recognize objects in the AUT development environment. d) Both b and c. 2. What is the most appropriate Record and Run setting when you expect
Read more: interview

Automation Test Environment Preparation
2008-04-14 06:48:36
To prepare the Automation test environment: • Check for stability in the application under test. • Ensure that the test and tester have permissions to access the database, host systems, and input/output data. • Execute the test case steps manually to determine the expected results. • Before recording a test, you need to determine the input data that you will use to test the application.
Read more: Environment

QTP Automation- Workflow
2008-04-14 06:31:35
QuickTest Professional is a software testing tool that provides you an automated solution for performing functionality testing. QuickTest Professional enables you to automate manual test cases. This automation of test cases results in increased productivity of the testing team and increased reusability of tests. The workflow for QuickTest Professional represents the complete lifecycle of
Read more: Automation , Workflow

Functional Testing (black box testing)
2008-04-14 06:23:48
Functional testing, which is also known as black box testing, is a quality assurance process. You use functional testing to verify the functionality of the application under test (AUT). For example, you use functional testing to verify whether or not the AUT successfully completes a transaction. Functional testing enables you to verify the following features of AUT: • Accuracy • Reliability •
Read more: Testing , Functional

Working with Web Browsers
2008-04-14 01:51:27
QuickTest supports recording tests only on Microsoft Internet Explorer. It supports running tests on the following Web browsers: ➤ Microsoft Internet Explorer ➤ Netscape Browser ➤ Mozilla Firefox ➤ Applications with embedded Microsoft Internet Explorer Web browser controls Keep the following in mind when using Microsoft Internet Explorer as your Web browser: ➤ QuickTest Professional Web support


QTP Run mode
2008-04-11 05:41:08
• Normal (displays execution marker)—Runs your test with the execution arrow to the left of the Keyword View or Expert View, marking each step or statement as it is performed. If the test contains multiple actions, the tree in the Keyword View Item column expands to display the steps, and the Expert View displays the script, of the currently running action. you can add Delay in each step


Working with Test Objects
2008-04-26 06:30:58
When QuickTest runs a test, it simulates a human user by moving the mouse cursor over the application, clicking objects, and entering keyboard input. Like a human user, QuickTest must learn the interface of an application to be able to work with it. QuickTest does this by learning the application's objects and their corresponding property values and storing these object descriptions in an


Working with Breakpoints in the Keyword View
2008-04-26 05:11:40
You can easily insert and remove breakpoints in the Keyword View. When you place a breakpoint in a step in the Keyword View, it is also displayed in the Expert View, and vice versa. You insert a breakpoint in the Keyword View by clicking in the left margin at the point where you want to insert the breakpoint, or by selecting a step and pressing F9, or choosing Debug > Insert/Remove


Displaying Keyword View Columns
2008-04-26 05:01:55
You can use the Columns tab of the Keyword View Options dialog box to specify which columns you want to display in the Keyword View. You can also specify the order in which the columns are displayed. Choose Tools > View Options. The Keyword View Options dialog box opens. You can use the Fonts and Colors tab of the Keyword View Options dialog box to specify different text and color display


Interview Questions
2008-04-28 08:31:40
Q. How can you generate a response to an event in QuickTest Professional? Ans. You can generate a response to an event in QuickTest Professional by using an event handler or behavior. Q. What are the steps for troubleshooting Web event recording problems? Ans. To troubleshoot Web event recording problems, you first determine the event that you want to record. Next, you determine if the event


QuickTest Automation Model
2008-05-01 08:51:52
Like most automation object models, the root object of the QuickTest automation object model is the Application object. The Application object represents the application level of QuickTest. You can use this object to return other elements of QuickTest such as the Test object (which represents a test or component document), Options object (which represents the Options dialog box), or Addins
Read more: Automation

Page 1 of 2 « < 1 2 > »
eXTReMe Tracker