QTP Training Day1

QTP Training Day1 is all about, – What is Automation?? – Benefits of Automated Testing – QTP Introduction – Testing with QuickTest – System Requirements – Basic steps of QTP – Advantages of QTP – Understanding License Types – Understanding the Add-in Manager Options – Understanding the Testing Process – System requirements for QTP 8.2 [...]

Microsoft Windows Script Technologies

JScript Microsoft’s powerful scripting language targeted specifically at the Internet. VBScript Microsoft Visual Basic Scripting Edition brings active scripting to a wide variety of environments, including Web client scripting in Microsoft Internet Explorer and Web server scripting in Microsoft Internet Information Services. Script Runtime Dictionary object is the equivalent of a PERL associative array. It [...]

Default Reserved Objects of QTP

Reserved Objects 1. DataTable object 1. AddSheet: Adds the specified sheet to the run-time Data Table and returns the sheet so that you can directly set properties of the new sheet in the same statement. Syntax DataTable.AddSheet(SheetName)  E.g. Variable=DataTable.AddSheet (“MySheet”).AddParameter(“Time”, “8:00″)  2. Deletsheet: deletes the specified sheet from the run-time Data Table. e.g. DataTable.DeleteSheet “MySheet” 3. [...]

Enhancements in QTP 9.2

Product Enhancements • Enhanced Object Spy Functionality. When you hover over objects in your application using the pointing hand, you can view their properties, methods, and object hierarchy in the Object Spy. As you hover over each object, it is highlighted in the application. • Web Drag and Drop Support. You can now create and [...]

Dynamic Management of Object Repositories

Dynamic Management of Object Repositories What?? RepositoriesCollection reserved object   Why?? You can use to programmatically manage the set of object repositories that are associated with an action during a run session.   How it works?? – At the beginning of a run session, the RepositoriesCollection object contains the same set of object repository files [...]

Mercury Screen Recorder

(QTP 9.2 – New Feature 1.) Mercury Screen Recorder What it means?? You can instruct QuickTest to save a movie of your entire run session or to capture    only the segments surrounding errors or warnings that occur. Why it use?? –    This can be useful to help you see how your application behaved under [...]

New features of QTP 9.2

Mercury Screen Recorder- Capture your entire run session in a movie clip or capture only the segments with errors or warnings, and then view your movie from the Test Results window. Dynamic Management of Object Repositories- Programmatically manage an action’s shared object repository collection during the test run. 

Sending Email using QTP

‘ ++++++++++++++Sending Email+++++++++++++++++++++++ Bother,  you will forget to  send the reports to your reporting person. Use these coding in your Test or Component script that automatically send the report status to corresponding people whom you want.  Use the following scripting code as follows,    ‘Function SendMail(SendTo, Subject, Body, Attachment)     Set ol=CreateObject(“Outlook.Application”)     Set Mail=ol.CreateItem(0) [...]

Normalize String

  Function NormalizeString(OrgStr)     Dim TempStr     TempStr = Replace(OrgStr, “\”, “\\”)     TempStr = Replace(TempStr, “*”, “\*”)     TempStr = Replace(TempStr, “+”, “\+”)     TempStr = Replace(TempStr, “.”, “\.”)     NormalizeString = Replace(TempStr, “?”, “\?”) End function The NormalizeString function receives a string and returns the equivalent string in regular expression Function NormalizeString(OrgStr)    [...]

Message Box with Timeout

  Set WshShell = CreateObject(“WScript.Shell”)     WshShell.Popup “hello”, “1″, “hi” Type there scripts commands in Expert view,   Set WshShell = CreateObject(“WScript.Shell”)  WshShell.Popup “hello, i am information message”, “1″, “hi im title”  where 1 is the time out of pop-up messge

Follow

Get every new post delivered to your Inbox.