qtp

Is it a good idea to use HP Quality Center for Continuous Integration?

We need to compile our code after check - ins, be notified if compile fails, run tests, be notified of test results and publish our application (publish a website or create an msi file for a desktop app) on a daily basis. We are using SVN and were considering using TeamCity or CruiseControl.NET for continuous integration server for our ...

Firevent in QTP 10.0 (C# .net windows application)

Hi I am trying to fire a event on a janus grid and code used is a shown below. SwfWindow("Application8 - [MH Core]").SwfObject("grid").FireEvent "ColumnButtonClick" , SwfWindow("Application8 - [MH Core]").SwfObject("grid").Object.CurrentColumn But the above code is not working and qtp is not showing any errors when i tried to recor...

keyword driven test automation framework

Hi is there any keyword driven test automation framework (vbscript) with quick test professional 9.5 available? Can anybody give me any downloadable link regards sethu ...

QTP/VBScript: How to remove all URLs from a string?

I have a string in my QTP test project. In some cases, this string is a plaintext E-mail's content; in other cases it's HTML. In both cases, I need to strip all URLs from the string to match it against an Expected case. How can this be done in QTP/VBScript? ...

QTP: Getting the value of a checkbox

I want to know that how many checkboxes are present on the home page of www.gmail.com and also I want to check the checkbox is checked or not ..... My code is.... Set obj= Description.Create() obj("name").value="PersistentCookie" obj("html tag").value="INPUT" obj("type").value="checkbox" Set a = Browser("name:=Gmail.*","title:=Gmail.*...

Can I use a language other than VBScript to programmatically execute QTP Tests?

I have VBScript code which launches QuickTest Professional, executes a series of QTP tests, and emails the results. This works well, but I would prefer to use a language with better tools support (a good IDE for example). I am currently calling .Net libraries from the launch script, so I was wondering if it was possible to use a language...

Web Extensibility

I am working with QTP now for some time and heard of web extensibility, I have tried to do a lot of research on this topic but to no avail. Can please through some light on this topic and small demo for this. What all are the prerequisite for working on Web Extensibility. I need to explore on this topic further to get a hold on it and us...

Quicktest Pro - find first button after matching text.

I want to use dynamic object recognition (descriptive programming) to find the first button labeled "Delete" that occurs after some given text (eg, the first Delete button that appears after the text "Item XYZ-123"). I have a kludgy way to do it if both the text and the button are inside a single row of a webtable, but I was hoping for ...

Why do I get an InteropServices.COMException when attempting to launch QTP from C#?

This question is a follow-up to the one at http://stackoverflow.com/questions/895342/can-i-use-a-language-other-than-vbscript-to-programmatically-execute-qtp-tests. I have a C# (.Net 2.0) program which creates an instance of QuickTest.Application and launches QuickTest Professional (version 10.0). All my development testing worked well. ...

How to test labels in QTP

I'm using QTP 9.5 test my application written in Delphi. I got Delphi Add-in installed and QTP can identify Delphi controls. Most but not all, specially TLabel. QTP can not recognize this control and is being ignored by Object Spy. Any suggestion, tip, clues how to test labels ? cheers ! ...

Calling back to VBScript from C#

Hi, I'd liked to know whether it is possible to call a function in VBScript from C#. Let me try to clarify. I'm using an application (Quick Test Professional or "QTP") that automates another application, mostly using VBScript. There is the ability, via an add in model, to extend the test functionality by writing add-ins to the testing...

How can i compare two rows of datatable in QTP

How can i compare two rows of datatable in QTP ...

Can I code actions directly using vbscript when QTP does the same thing too?

Basic doubt...If QTP generates vbscript code as we record actions, can't we directly write vbscript code and get rid of QTP which does the same thing too? ...

QTP / Dynamic Great Plains automation

I have recently completed a detailed investigation regarding GP functional test automation possibilities with QTP, TestComplete, and other GUI recognition/interaction tools. In short, none of the tools acted well. Mentioned above did best but still featured a lot of hard-coding in recorded sample scripts. QTP did significantly better tho...

QTP: simultaneously user testing is possible in QTP ?

I want to know that can I test an application with multiple users in QTP ? If yes then how can i do this.Please give me steps to do it. ...

Invoke QTP Test Suits automatically from Hudson?

We need to integrate QTP with hudson to automatically invoke test suites against the code deployed in hudson.The build process is based on Maven. Is there any plugin or something to achieve this?We heard about groovy plugin for hudson can we be able to execute it with groovy script? Please guide. ...

QTP Web extensibilty toolkit and ajax

I'm trying to test using QTP a web app that is using ajax4jsf to implement the ajax features. QTP doesn't have the ability to recognize when the ajax had finished. I've read that the web extensibility toolkit that is provided with QTP 9.5 and QTP 10 is the solution for my problem. However, I can't understand how this can help me: I need ...

How to capture and compare all object properties on a web page

I'm working on a web-based application. I would like to check properties for all objects on the page, but would rather not have to do them individually. I remember test-tools past that would allow you could capture the whole page and select which objects and properties you wanted to keep track of. Does QTP allow you to capture a whole ...

QTP Web Extensibilty - How to force QTP to stop test execution

I'm implementing an extension to QTP using the Web Extensibility Toolkit. If my JScript function that implements the QTP action encounters an error (e.g User gave wrong argument values), I want the QTP to stop the test execution and notify the user about the error. I want it to act as a normal error in QTP and ask if the user want to deb...

Adding ids to HTML tags for QA automation

I have a query In our application we have lots of HTML tags. During development many tags were not given any id because of no requirement.Now the QA team wants to automate the test cases using QTP. In most of the cases this tool doesn't recognizes because it does not find ids for most of the HTML tags.Now we are asked to add ids to all t...