qtp

Mercury Quick Test Pro and Virtual machines: Works from one client machine but not another

I have a virtual machine (VMware) with Mercury Quick Test Professional 9.2 installed. I have a script to test an application, written in VB.NET using the Infragistics library. If I access this virtual machine using my laptop (using Remote Desktop), everything works fine, the script completes without a problem. My laptop runs XP, with Wi...

QTP_errObject

Hi All: May I request you to clarify the issue I have with QTP err object. I am trying to capture the screen shot of an object on which error occured. I use the code object.captureBitmap(filename) to achieve this. I would like to know if it is possible to get the screen shot of the entire page with the err object higlighted. Thank yo...

load XML file to QTP

Hi All: May I request you to help me in clarifying a query.. I am getting an error message "80004005- file could not be opened" The scenario is I am trying to load an XML file created using VB script at run time. ie the creation of the XML and loading it in to QTP are handled in the same script one after the other. I am able to load ...

Mercury Quick Test Pro - Testing with a custom grid

Hi, We are trying to create some tests that reference an vendors custom grid. Unfortunatly QTP only recognises it as a WinObject which is quite useless. We need to be able to navigate the grid and change cell values, double click on a cell(without using X,Y co-ordinates) etc. Ideally we want to get QTP to understand that this object i...

How do I use WScript.Shell SendKeys to send Number Pad key strokes?

I am trying to use WScript.Shell SendKeys method to emulate sending a key press from the Number Pad. I have an application that I am writing automated testing for using QTP. It is a Web Browser based application and the input is into a Java App within the web page. The input only accepts key presses from the Number Pad and the Enter k...

Help getting QTP to identify a control

We're trying to use QTP (QuickTest Professional) to auto-test a legacy C++ application. However, the main window for the app is composed of several IDENTICAL panels. Each panel has a unique title. If I view the window in Spy++ (comes with DevStudio), I see: + Window <hwnd> "Window Title" taskwindowclass + Window <hwnd> "Panel A" ch...

Quick Test Pro (Regression test scripts) - Cruisecontrol.net

Any one succeeded in integrating Quick Test Pro (QTP) automated test scripts in Cruisecontrol.net. if any one have an idea to run them unattended , in a schedule task or cruisecontrol.net will be more useful.# ...

creating generic file in generic folder using QTP

I created a generic folder by taking the name from DataTable: Dim fso Set fso = CreateObject("Scripting.FileSystemObject") strdata = Datatable.Value("Column name", "Sheet") fso.CreateFolder "C:\Documents and Settings\schoudar\Desktop\" & strdata Till this I am successful but now I want to save a file in this folder and the folder name...

next iteration while running a script

in a script when error comes i am just using "EXITGLOBALITERATION" command but its not going to the next iteration ....Is there any other alternative for this?? ...

QuickTest Pro automated testing

Hi All -- I have three easy questions. Does anybody use QuickTest Pro for automated testing? Any other automated testing applications that you recommend? Is automated testing a good idea? Thanks ...

Automating QA on Flex Application

I have a Flex Application that needs to be tested and our QA department is really adament on using some form of automated-testing tools like HP's QuickTest Pro (QTP). However, QTP requires that you write some custom code if you wish to automate some home-made components... Unfortunately, we have some 3rd-party components which we do not ...

QTP: Parameterize a Database Checkpoint

I have a database checkpoint in QTP (HP QuickTest Pro); this checkpoint works if I pass it a static query, but I need to be able to pass in parameters or build the query programatically. I also know how to query the database programatically from QTP, but don't see a way to create a checkpoint based on its results. Specifically, I want...

JavaService and QTP

Can I test/call a Java Service from QTP and how? ...

QTP: Get list of all links in an E-mail

I'm "developing" a test plan in Mercury/HP QuickTest Pro 9.1, in which I must extract a list of all links in an E-mail and perform logic against each of them. In this case, I am using Webmail, so the message will appear as a web page; though I hope to use Outlook later to replicate a more realistic UX. I am a Developer, not a Tester. C...

QTP: Object Required errors when Object is valid

I have the following VBScript in a reusable action: 'Gather links Browser("1").Navigate "http://InternalWebmail/something/inbox.nsf" set oDesc = Description.Create() oDesc("micclass").Value = "Link" set links = Browser("1").Page("Webmail").ChildObjects(oDesc) Dim links2 links2 = "" 'Filter out irrelevant links For i = 0 To links.Count-...

XMLSpy in Eclipse

Hi, I need to test XMLSpy functionality in Eclipse. After I switch Eclipse to XMLSpy Perspective and QTP is runnig (record or run mode), it does not work. Could you help me? Thanks. ...

Does anyone use QuickTest Professional's Web Extensibility?

In QTP 9.5 HP presented Web Extensibility which provides the ability to create new test objects that better model your application. I found very little on the web about this feature. Is it really useful? Does anyone here have any experience in using it? ...

WCF Web Service Testing with QTP

I want to automate testing of WCF Web Services(over TCP) using QTP's WebServices Add-In. However when I specify path of WSDL it gives me errors. Has anyone tried using QTP? or any other tool that I can use for testing? ...

how to perform a task after stopping the test run?

Hello, I was just trying to perform a task after i stop the test run in QTP. The actual scenario is like this: I want to login into some site(project internal), perform some task and when i stop the test run, it should automatically logoff from the site. There is a logoff button too on the web page. But the challenge is that we hav...

Running qtp tests automatically from a hudson instance

We have at work a Hudson machine that acts as a build server for a Java Swing Project. The build process is based on Ant scripts (and not Maven). Has anyone integrated tests from QuickTest Professional is such configuration? In other words: Is it possible to execute qtp tests automatically via Ant? ...