Questions tagged [qtp]

QuickTest Professional (QTP) is a functional and regression test automation tool for software applications and environments.

QuickTest Professional (QTP) is a test automation tool by Micro Focus designed for testing software applications and environments. It performs functional and regression testing by manipulating a user interface such as a native GUI or web browser. It works by identifying the objects in the application user interface or a web page and performing desired operations (such as mouse clicks or keyboard events); it can also capture object properties like name or handler ID. QTP uses the VBScript scripting language to write the tests and to manipulate the objects and controls of the application under test.

In its latest versions it has been renamed to UFT (Unified Functional Testing) tagged as .

1590 questions
3
votes
1 answer

What are the various methods to rightclick on a webelement in QTP?

I had to right click on a webelement. I tried the following methods: For code simplicity assume webElem refers to a valid Browser().Page().WebElement(). 1) Set obj=createobject("mercury.devicereplay") getX = webElem.GetROProperty("abs_x") getY =…
Srittam
  • 61
  • 2
  • 2
  • 6
3
votes
1 answer

Local and Shared Repository

Can any one tell me if a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?
3
votes
1 answer

Parsing XML Embedded in VBScript (QTP)

Say there's a QTP Function Library that contains many procedures. Each procedure contains documentation written in an XML node format that describes the purpose, return values and other information about the procedure. Is there a way to parse these…
alvinjorrel
  • 57
  • 1
  • 5
3
votes
2 answers

Delphi 2009 (and probably Delphi 2010 as well) and QTP

We have a suite of automatic tests written in QTP (Quick Test Pro - an HP product), and we have just upgraded to Delphi 2009 (I know we are late adopters), and all of these tests no longer work. The plugin that QTP have released does not work with…
mmmm
  • 2,431
  • 2
  • 35
  • 56
3
votes
1 answer

Associated Library in QTP not working

I am new to QTP, just started using it. I have written one class definition in some functional library and also created a test as under: Class ExcelFileReader Public default Function Init(pathToExcel) Dim objFSO Dim result Set objFSO =…
codeomnitrix
  • 4,179
  • 19
  • 66
  • 102
3
votes
1 answer

Automation_agent and qtp_air resource bundles not found when adding automation libs to AIR project

I'm trying to add the automation libraries to my project in Flash Builder so we can automate our testing. I've added this to the additional compiler…
Ventis
  • 488
  • 6
  • 22
3
votes
1 answer

Get full actual html page source including the frameset

For our functional test automation we use QTP with the Webtest Plugin. I have control over the DOM (but not in an easy manner) and can use VBScript and partially Javascript to find a solution. Whenever we encounter an error during a test I'd like to…
AutomatedChaos
  • 7,267
  • 2
  • 27
  • 47
3
votes
3 answers

QTP Script is not recognizing the combo box object

My project is completely developed in ExtJs language(not in html). Please observe the following code and I attached screenshot of my window. I want the combo box item(activePoll server1) to get selected as shown in the figure. Please suggest. Option…
Sai
  • 31
  • 1
  • 3
3
votes
1 answer

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…
Eldad
  • 1,067
  • 16
  • 36
3
votes
1 answer

(HP QuickTest) How do I get HTTP status using QuickTest?

I'm creating an QuickTest script that get all URL's for a page and check if the status of http request where code is 200. But my question is how do I get the http request status code from a URL ?
rfonte
  • 61
  • 6
3
votes
1 answer

QuickTest Pro -- deploying/running tests for execution on multiple VMs

I am new to QTP, so apologise for what might be a daft question. I am writing automated GUI tests using QTP but wish to execute them on a number of test VMs. Does QTP have some kind of "lightweight" agent that I can push to each test VM, rather…
mrbouffant
  • 63
  • 4
3
votes
5 answers

Can I invoke QTP test suits automatically from Maven/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 the Groovy plugin for Hudson; Can we…
Ramya
3
votes
1 answer

QTP Cannot Create ActiveX Object

While working on script, I am facing this issue. I can't post the whole code but this is a sample that does the samething that I wrote myself; Dim qtpApp Set qtpApp = createObject("QuickTest.Application") qtpApp.Launch I have also tried this: Set…
user1494783
  • 31
  • 1
  • 2
3
votes
3 answers

Passing array of classes to parameter of action in QTP/VBScript

My question involves the use of QTP / VBScript. Goal: From the qtp main starting file, initialize an array of classes, and pass that array as a parameter to a re-usable action via a parameter. Problem: I am not able to pass an array of classes to my…
user1466813
  • 31
  • 1
  • 3
3
votes
1 answer

How can i compare two rows of datatable in QTP

How can i compare two rows of datatable in QTP
joe
  • 34,529
  • 29
  • 100
  • 137