.............................Welcome to Saravanan J Blog.............................

.

Tuesday, January 3, 2012

Saputara Trip - Part 2

Saputara Trip - Part 2 Slideshow: Saravanan’s trip from Pune, Maharashtra, India to Waghai National Park & GIRADUDH WATERFALL, Gujarat (near Valsad, Gujarat) was created by TripAdvisor. See another Valsad slideshow. Create a free slideshow with music from your travel photos.

Friday, December 30, 2011

Wednesday, December 28, 2011

Hello QTP



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



































































Version




Released Year




Vendor




QTP 11.0**




2010




HP




QTP 10.0*




2009




HP




QTP 9.5*




2007




HP




QTP 9.2*




2007




HP




QTP 9.0




2006




Mercury Interactive




QTP 8.2*




2005




Mercury Interactive




QTP 8.0




2004




Mercury Interactive




QTP 7.0




Never released.




Mercury Interactive




QTP 6.5




2003




Mercury Interactive




QTP 6.0




2002




Astra




QTP 5.5




First release. 2001




Astra




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:



§  QuickTest title bar



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.



§  Menu bar



Displays menus of QuickTest commands



§  Standard toolbar



Contains buttons to assist you in managing your document



§  Automation toolbar



Contains buttons to assist you in the testing process



§  Debug toolbar



Contains buttons to assist you in debugging your document (Not displayed by default)



§  Edit toolbar



Contains buttons to assist you in editing your test or function library.



§  Insert toolbar:



Contains buttons to assist you when working with steps and statements in your test or function library.



§  Tools toolbar:



Contains buttons with tools to assist you in the testing process.



§  View toolbar:



Contains buttons to assist you in viewing your document



§  Action toolbar:



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)



§  Keyword View



Contains each step, and displays the object hierarchy, in a modular, icon-based table.



§  Expert View:



Contains each step as a VBScript line, In object-based steps, the VBScript line defines the object hierarchy.



§  Status bar:



Displays the status of the QuickTest application and other relevant information



§  Active Screen:



Provides a snapshot of your application as it appeared when you performed a certain step during the recording session.



§  Available Keywords:



Displays all the keywords available to your test, Enables you to drag and drop objects or calls to functions into your test.



§  Data Table:



Assists you in parameterizing your test, The Data Table contains the Global tab and a tab for each action.



§  Debug Viewer:



Assists you in debugging your test scripts, The Debug Viewer pane contains the Watch, Variables, and Command tabs.



§  Information:



Displays a list of syntax errors found in your test and functions library scripts.



§  Missing Resources:



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.



§  Process Guidance



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.



§  Resources:



A display all the resources associated with your current test and enable you to manage these resources.



§  Test Flow:



Displays the hierarchy of actions and action calls in the current test, and shows the order in which they are run.



§  To Do:



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.