Tuesday, February 23, 2010

Make Your QTP Script Talk

This is soooo... interesting one in QTP....

QTP will talk????

I read about it in some blog and tested in my system.. QTP is talking..... now.. wow...

Set oVoice = CreateObject("sapi.spvoice")
oVoice.Speak "Iteration "&Environment.Value("TestIteration")
Set oVoice =Nothing

With this code.. Now your QTP will Speak :)..which Iteration is running in your current execution..

switch on the speakers and listen..

Reference: http://en.wikipedia.org/wiki/Microsoft_Speech_API

Wednesday, February 10, 2010

Let's Download VSTS 2010 trail version and play!!!! Will it be a real competitor for QTP in functional testing???

VSTS Test Edition:

There are code quality features common to Visual Studio Professional and all the VSTS editions, such as adding a test results to a work item or tracking tests against work items, creating unit tests, and scheduling of tests.
Quality features specific to the Test edition include calling one Web test from another Web test, custom host adaptors for running tests in alternate test environments, generic tests for wrapping external programs and tests not part of VSTS, load modelling for load tests, load tests for Web tests or unit tests that simulate multiple users for performance and stress testing, and manual tests such as disconnecting the power supply.
Microsoft Test Runner enables test case execution, and event and system log collection, and captures images and video of test execution; the integration with TFS allows users to create defects linked with related artefacts.

In functional testing market there is one more tool avilable from Micro Soft(VSTS), will it be a real competior for QTP...????

give your comments......

Download VSTS 2010 trail version
Download VSTS 2010 trail version

Friday, April 10, 2009

You can execute QTP scripts after locking your system!!!!

You can execute QTP scripts after locking your system, By changing one value in Registry :)

Steps:
1. Open registry by typing regedit in the run command.
2. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\MicTest folder in the registry.
3. Search for "SkipEnvironmentChecks".
4.Change the value to "1" and restart the QTP.

I read this in some QTP forum and after executing one small script, posting in my bolg because it will help a lot for QTP professionals!!!!

Monday, February 9, 2009

How to get Sub-folders Count and Names from a Folder?

How to get Sub-folders Count and Names from a Folder?

Set Obj = CreateObject("Scripting.FileSystemObject")'Creating a file system object
Set Obj1 = Obj.GetFolder("C:\test")
Set Obj2 = Obj1.SubFolders
msgbox Obj2.Count 'displaying count of sub-folders
For Each Fold_Iteam in Obj2
Fold_names = Fold_names& Fold_Iteam.name &vbnewline
Next
msgbox Fold_names 'Displaying all sub-folders names

Wednesday, February 4, 2009

QuickTestPro 10.0

Good News !!!!!!!! QTP 10 is having so many new fetures....find some of them below

QTP 10 New Features

1.Portability by Saving Copies of Tests Together with Their Resource Files
2.Call Actions Dynamically During the Test Run
3.Develop Your Own Bitmap Checkpoint Comparison Algorithm
4.Centrally Manage Your Work Items and ToDo Tasks in the To Do Pane
5.Improve Test Results Analysis with New Reporting Functionality
6.Centrally Manage and Share Testing Assets, Dependencies, and Versions in Quality Center 10.00

Product Enhancements
1. You can Upgrade QTP 10 from QuickTest 9.5
2. Improved IntelliSense Functionality
3. Improved Debugger Pane Design and Functionality
4. Added New Object Identification Solutions in Maintenance Run Mode
5.Additional Configuration Settings for Text Recognition Mechanism
6.New Look for Options, Settings, and File Dialog Boxes
7.QuickTest Toolbar Customization Options
8.Improved Web Extensibility
9..NET Add-in and Extensibility Improvements
10.New Terminal Emulator Configuration Validation

New Supported Operating Systems and Environments
  • Microsoft Internet Explorer 8, Beta 2
  • Mozilla Firefox 3.0.x
  • Delphi: IDE, versions 6, 7, and 2007
  • Citrix Presentation Server 4.5
  • Reference: HP QTP 10.0 Help