SARAVANAN J
.............................Welcome to Saravanan J Blog.............................
Tuesday, January 3, 2012
Saputara Trip - Part 2
Friday, December 30, 2011
Saputara Trip - Part 1
Wednesday, December 28, 2011
Hello QTP
Hey Mates,
Here you will find the small piece of details about History of QTP and Basic QTP Information.
QTP History, as I know,
Ö Version and Release year
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note:
* - Most Famous version in Market
** - Most Recent Version
Ö Supported Technologies
The supported technologies depend on the QTP version, so far are available the following:
o Web
o Java(Core and Advanced)
o .Net
o WPF
o SAP
o Oracle
o Siebel
o PeopleSoft
o Delphi
o Power Builder
o Stingray 1
o Terminal Emulator
o Flex
o Web Services
o Windows Mobile
o VisualAge Smalltalk
o Silverlight
o Mainframe terminal emulators
Note:
o I have worked on only 4 technologies out of mentioned above and it is not a big deal to work with respect to different technologies if you strong on basic Automation concepts. Windows and Activex not mentioned in above list because those technologies supported by default which is unavoidable, other technologies will be depend on your QTP License.
Ö Supported Scripting Language in QTP Environment
o You can write your QuickTest automation scripts in any language and development environment that supports automation. For example, you can use: VBScript, JavaScript, Visual Basic, Visual C++, or Visual Studio .NET. But VB Scripting language is supported by QTP as by default.
Note:
o My personal suggestion is till you will be able handle alone with QTP, don’t try with other development environment.
o I don’t thing this feature available in lower versions of QTP i.e. in lower version as per my knowledge it supports only VBScript, JavaScript and Visual C++.
Ö Hello QuickTest Window
o Key Elements in the QuickTest Window
In addition to the document area, the QuickTest window contains the following key elements:
Displays the name of the active document, If changes have been made since it was last saved, an asterisk (*) is displayed next to the document name in the title bar.
Displays menus of QuickTest commands
Contains buttons to assist you in managing your document
Contains buttons to assist you in the testing process
Contains buttons to assist you in debugging your document (Not displayed by default)
Contains buttons to assist you in editing your test or function library.
Contains buttons to assist you when working with steps and statements in your test or function library.
Contains buttons with tools to assist you in the testing process.
Contains buttons to assist you in viewing your document
Contains buttons and a list of actions, enabling you to view the details of an individual action or the entire test flow (Not displayed by default)
Contains each step, and displays the object hierarchy, in a modular, icon-based table.
Contains each step as a VBScript line, In object-based steps, the VBScript line defines the object hierarchy.
Displays the status of the QuickTest application and other relevant information
Provides a snapshot of your application as it appeared when you performed a certain step during the recording session.
Displays all the keywords available to your test, Enables you to drag and drop objects or calls to functions into your test.
Assists you in parameterizing your test, The Data Table contains the Global tab and a tab for each action.
Assists you in debugging your test scripts, The Debug Viewer pane contains the Watch, Variables, and Command tabs.
Displays a list of syntax errors found in your test and functions library scripts.
Provides a list of the resources that are specified in your test but cannot be found, such as missing calls to actions, unmapped shared object repositories, and parameters that are connected to shared object repositories. The Missing Resources pane then enables you to locate or remove them from your test.
Displays two panes that provide procedures and descriptions on how to best perform specific processes, such as creating a test in QuickTest, The Process Guidance Activities pane lists the activities that you can perform, such as adding steps to a test. The Process Guidance Description pane describes the tasks that you need to perform for a selected activity. Your organization may also provide you with process guidance that is accessible from these panes.
A display all the resources associated with your current test and enable you to manage these resources.
Displays the hierarchy of actions and action calls in the current test, and shows the order in which they are run.
Displays and enables you to manage the tasks defined for the current test. The To Do pane also displays the TODO comment steps of the test's actions or currently open function libraries.
Extra Details:
Ö QuickTest does not support hidden files. If you mark a QuickTest test, folder, or other QuickTest file as hidden (by selecting the Hidden attribute in the folder or file properties dialog box in Windows Explorer), QuickTest may behave unexpectedly.
Ö Testing on Microsoft Internet Explorer 8.0 Beta 2 is supported on Windows XP and 2003 only.
Ö QuickTest does not support the showModalDialog command in Mozilla Firefox.
Ö QuickTest cannot record or run steps if it has limited access to the processes of the application you are testing.
o Workarounds:
§ Make sure that the application you are testing is started by the same Windows user as QuickTest.
§ Make sure that neither you nor the tested applications actively prevent QuickTest from accessing the application’s processes.
Ö If you try to open or associate a resource file other than a function library file (from the file system or Quality Center) and its extension is written in one or more upper-case letters, QuickTest displays a message that it cannot open files of this type.
o Workaround:
§ Change the file extension to lower-case letters and then try to associate the file again.
Ö If you do not have at least one printer installed on your computer, you cannot use the Export Report option in the Test Results window.
Ö When selecting Record and run test on any open Web browser in the Web tab of the Record and Run Settings dialog box, the browser must be opened after you open QuickTest Professional. Otherwise, QuickTest will not record and run tests properly i.e. if Browser opened before opening QTP the QTP will identify that browser as window instead of Browser.
Ö The MouseMove method may behave unexpectedly in a Vmware environment.
o Workaround:
§ Add the following line to the VMware configuration file (<VMname>.vmx): vmmouse.present = "FALSE"
Ö When running QuickTest on a remote machine using a Remote Desktop Connection session (RDC) or using Citrix, if the remote session is minimized during the run session, or if the computer on which the application is being tested is logged off or locked,
o The following problems may occur:
§ The test or component run session may fail
§ Steps that contain keyboard or focus operations may fail
§ The Test Results still image capture and/or the Screen Recorder may display a black screen
§ Steps for which the device level replay is configured to use the mouse (instead of browser events) to run mouse operations may fail. (You set the device level replay using a Setting.WebPackage("ReplayType") statement or by setting the Replay type option in the Advanced Web Options dialog box.)
o Workaround:
§ If you are using Citrix or a Remote Desktop Connection session to run a test or component, do not minimize the session window, and make sure that the computer on which the application is being tested is not logged off or locked.
Ö If you are working on a computer where the UAC (User Account Control) option is set to ON, QuickTest does not support testing on Mozilla Firefox browsers that were installed (or upgraded to a new version) after you installed QuickTest Professional.
o Workaround:
§ After installing Mozilla Firefox on the environment described above, log in as an administrator and open QuickTest. This enables QuickTest to install files that are required for Mozilla Firefox support.
Ö If you are working on a computer where the UAC (User Account Control) option is set to ON and the Internet Explorer Enable Protected Mode option is selected, then QuickTest cannot open the Internet Explorer browser at the beginning of record or run sessions as instructed by the Open the following browser when a run session begins option in the Record and Run Settings dialog box.
o Workaround:
§ Clear the Enable Protected Mode option in Internet Explorer (Tools > Internet Options > Security), apply the changes, and close the browser.