Questions tagged [qtp]

HP QuickTest Professional software provides functional and regression test automation for software applications and environments. It supports keyword and scripting interfaces and features a graphical user interface. It was originally written by Mercury Interactive which was acquired by HP in 2006.

Filter by
Sorted by
Tagged with
0 votes
2 answers
5k views

Problems to execute a UFT script by a VBScript file

I'm facing a problem when I try to execute a UFT script using a VBScript file to call it. The code inside the .vbs file is below: dim uft Set uft = CreateObject("QuickTest.Application") uft.Visible =...
0 votes
2 answers
2k views

"Unable to open the [test name] test." message when starting QTP autotest from QC

I am integrating QTP 11.0 autotests with HP ALM 12.20 so I could run them directly from ALM. So I've done everything according to Quality Center - QC-QTP Integration: installed QuickTest_Add-...
2 votes
1 answer
2k views

(QTP / UFT) How to change an Insight image during execution?

Is it possible to change an Insight image during the execution of a test? That way, I can have a single object in my object repository, for example "AbstractInsightObj" I am looking to do ...
0 votes
2 answers
2k views

How to get color of java table row/cell with QTP/UFT (java swing application)?

I need to test that the color of java table row has changed to some specific value. But till now I see no solutions of getting this property. Let's assume that jTableObj is OR or DP representation of ...
3 votes
1 answer
316 views

In QTP 12.51, how to identify dynamical element generated using ajax/jquery form

In my Datatable three rows are present. After clicking on Add button new row is generated and I need to put input values from datatable. Problem: How to identify field of each row dynamically for ...
1 vote
2 answers
388 views

Using objects in repository to describe/gather collection of similar objects

Is it possible to use a Test Object in the repository as a description object, to identify a collection of similar objects? I want to manage the identification of objects with discriptive programming, ...
5 votes
1 answer
448 views

How to control CEF3 portions of .NET project using Webdriver2?

We have a very large .NET project. This has been E2E/regression tested using QTP for 3 years. Eventually, our AUT is moving to the WEB. This process is expected to take a couple of years, it will be ...
1 vote
0 answers
76 views

Verify isempty for user defined datatype in VBS

In UFT, my code return nothing (In watch it'll show as empty - user defined datatype) And I am trying to validate returned value isempty or isnull But it's ignore the statements and going further. ...
2 votes
2 answers
6k views

How to start on QTP to automate a java swing application?

I have to start my automation on java swing application using QTP. I am quite a newbie in qtp. All I need is some documentation of the TOOL on how to get things configured and a step by step guide on ...
0 votes
0 answers
34 views

Is it possible to open browser in different machine that you have installed UFT/QTP?

I want to execute a test in different window machine that I have installed the UFT/QTP software. Is it possible? I read some information about execute UFT in remote machine(run UFT software and ...
3 votes
2 answers
704 views

QTP stops recording actions after Security Window dialog closes

I am recording user scenario using QTP 11.0. So I have set up URL to open in IE 11 in Record and Run Settings. After starting record Security Windows dialog pops up over IE window: I fill in all the ...
1 vote
1 answer
4k views

How to select an item in java menu with automation tool QTP/UFT?

The task is to open (click) menu item, e.g. File >> Open using QTP 11.0 You can check here how to spy drop-down menu properties with object spy. Below is the code that is autogenerated by QTP ...
6 votes
9 answers
10k views

Test management tool for Selenium webdriver?

My company recently began migrating from using QTP to Selenium webdriver. We are looking for a test management tool similar to Quality Center (what is QTP primaly for) that would work well with ...
3 votes
3 answers
738 views

QTP 11.0 not recording actions in IE 11

I am trying to do simple recording of actions in Web-page using HP QTP 11.0. QTP is ran under admin user. The settings used are: Record and Run Settings > Web > Open the following address when a ...
3 votes
4 answers
13k views

What are the Best Free HP QTP / UFT Advanced eLearning Training Videos & Tutorials?

I am new to HP QTP / UFT Automation tool. Could you please suggest some free good websites that provide elearning, training, tutorials, and videos for mastery of HP's QTP software. What is QTP? HP’s ...
0 votes
1 answer
8k views

ALM/QC API - Update test execution in a test set?

Overview of the problem I am trying to update test execution statuses of tests that are not automated (i.e. test scripts that cover multiple manual test cases), but I am having problems doing this ...
1 vote
1 answer
6k views

How to spy drop-down menu in QTP/UFT?

I want to spy objects of drop-down menu as I need to get it's descriptors for descriptive programming. As soon as I click the Spy button, the drop-down menu is hidden. How to spy drop-down menu in ...
5 votes
3 answers
3k views

How to limit test execution time in UFT/QTP?

I came across some situations (twice in one day, and I see they will not be rare) when test can run infinite time. Like there is a wait realisation for some account operation but there is an error ...
3 votes
1 answer
88 views

Compilation error on variable declaration in QTP

I just started to learn QTP 11.00 In one program I am getting one compilation error on this line on QTP tool Dim plus = 10 Here I am unable to understand this what is wrong with this line please ...
1 vote
1 answer
1k views

How to identify & choose unique properties for objects identification in QTP/UFT?

When I write test script (Descriptive programming) in QTP/UFT, I find difficult to figure out & choose unique properties for objects identification, now here I want to know that is there any way ...
2 votes
1 answer
1k views

Firing event on new tab of browser in LeanFt using C#

In my application flow, a new tab is opened in Google Chrome after clicking a button, I want to fire more click events and test the application in this new tab but the click events are not getting ...
2 votes
2 answers
1k views

Does HP UFT 12.5 work with Chrome 52?

I am using HP UFT version 12.5 and I have Google Chrome version 52. I'm not sure if it supported by Chrome 52 version or not? Please help, I am very new to it and kindly provide some tutorial link ...
1 vote
1 answer
403 views

How do I delete a column header in QTP?

I had a QTP Data Table and named some of my columns. I decided I didn't need one of my columns for my test, but it won't let me remove a column name once its set. I can't remove the column header and ...
1 vote
1 answer
118 views

How to report and record a negative test case

I have a QTP test case and wanted to expand it to test multiple user role types. It should pass for high privilege users and fail for low privilege users at various points depending on what page they ...
1 vote
1 answer
127 views

Automate manual tests that contain waiting for a long period of time in HP QTP/UFT

I have to automate a series of manual tests which contain a time window for which the user has to wait for a period of time - 48h.After this period, the status of my objects is changed. And this I ...
2 votes
0 answers
156 views

Best Practice of Maintaining an Object Repository when web page renamed

I inherited a QTP/UFT script for a web page that has not been used in a long time and I want to get it running again. My challenge is because the page has been renamed, whenever I use the record ...
2 votes
1 answer
339 views

If condition passes, but the code is not executed

I'm facing a problem with my GUI test. I want to check if a certain screen of an application is loaded or not; for this I'm using a bitmap checkpoint and a test area checkpoint. I'm using both because ...
1 vote
1 answer
792 views

What is the major difference between selenium and QTP [closed]

I am yet to start my career. Have completed by BCA and want to move it software testing segment. Please suggest which one to learn Selenium or QTP.
0 votes
3 answers
5k views

QTP Framework from scratch

So it’s been 5 years since I have been working on manual testing and from 6 months back I was working on QTP 10.0 version at home. I understood some basic things and can write basic QTP scripts for ...
1 vote
2 answers
1k views

QTP is not recognising Java objects

I have a java application which is running in a browser which seems to be invisible to QTP. I've not automated for a Java application before so I'm not sure what to expect, but I'd expect more than ...
0 votes
1 answer
95 views

BitMap Checkpoint-Workaround Please

I need to compare layout of 2 files(pdf). So i used Bit Map checkpoint. When i run using the normal run mode i am getting error message as Expected and actual bitmaps are of different sizes. Then I ...
1 vote
1 answer
737 views

How to check property of JavaToolbar button with UFT/QTP?

There is a toolbar in the java application with buttons: ..., security, tools, login, logout. UFT object spy can reach down to a certain button, but in script (descriptive programming) UFT can only ...
1 vote
1 answer
738 views

How to get Object count UFT

I am working on a web application automation, My application has a list item which is having 10 items under it. When i expand the list item for the second time It's showing count as 20 ( though it has ...
7 votes
2 answers
5k views

QTP vs Selenium [closed]

I have largely worked with Selenium for front end automation. Looks like there is great market for QTP in this arena, especially when you could afford commercial tools. Have you worked with both ...
0 votes
2 answers
1k views

How to Limit the number of decimals with out Rounding off in VBS/UFT

I want to limit the number of digits after decimal point, I am trying "FormatNumber" function but it's rounding the last number. Is there any other way to "FormatNumber" with out rounding off e.g: ...
2 votes
1 answer
2k views

How to select tab buttons in java tab panel with QTP/UFT?

I want to switch between tabs in Java application using QTP 11.0. The problem is that tab buttons are not seen by qtp object spy as separate objects, the whole tab pane is seen as JTabbedPane: Any ...
0 votes
1 answer
2k views

How to convert exponential number to normal number in qtp?

Getting some exponential value in qtp/uft while performing multiplication with huge numbers. But I want the exact decimal value of it. E.g.: I am getting something like 15525.22352000e25 I need ...
-1 votes
1 answer
480 views

Get Test instance id using Java API

I want to query QC to get the test instance id under a test set using Java API. Could anybody tell me what URL to use.
3 votes
2 answers
15k views

Error upon starting Select server "Could not find agent library JVMHOOK"

I am attempting to run the Selenium server for the first time on my machine and am receiving an error when running the jar, or when attempting to find the java version. Here is the error: C:\...
1 vote
1 answer
6k views

QTP does not identify / recognize java objects

I've been using QTP 11.0 on my PC quite a long time and had no problem with Java-apps (Java 7 Update 21 x86) identification (OS Windows 7 Pro 64-bit). But when I tried to install QTP on the server ...
1 vote
2 answers
834 views

In Qtp 12.51, how to select web element from auto-suggest list? Please see attach screenshot

After input in company name field, from auto-suggest list I want to select last value in QTP 12.51. Please see attached image and waiting for reply.
0 votes
2 answers
2k views

How to re run the test failed in batch runner programatically?

I have a certian number of scripts that i run in a batch runner. I want that if a test fails, it should run again once. i want to programatically re run the test incase it fails or enters a recovery ...
1 vote
1 answer
223 views

Which is more efficient mechanism for Object Identification in QTP - Xpath or Ordinal Identifiers?

Which is more efficient mechanism for Object Identification in QTP - Xpath or Ordinal Identifiers ?
1 vote
1 answer
1k views

Modify IE 'Internet Options' in HP UFT (QTP)

I need to ensure that the "Use automatic configuration" checkbox is set to off before my script starts. Group policy keeps changing this. How can I get into the "Internet Options" menu? It is not ...
0 votes
1 answer
851 views

How to find Img Src property value for Insight Objects in UFT for descriptive programming?

How can I find out the path where Insight object images are saved in the hard drive ? I need this value to update img src property for Descriptive programming in InsightObject("ImgSrc:=").I checked in ...
5 votes
1 answer
301 views

Fully qualify window path after upgrading to QTP 11?

After I upgraded from QTP 10 to 11, it required me to fully qualify my window paths using descriptive programming. For example, this sort of thing used to work in QTP 10: Window("Main").Window("...
0 votes
1 answer
765 views

QTP is not firing recovery scenario

There is a good QTP recovery scenario called "Any error": But still QTP is not firing recovery scenario in several cases (as I've found here): Script Errors Object Not in Object Repository (OR) ...
1 vote
2 answers
3k views

checking if a link is disabled using QTP

Is there a way to find if a link is disabled in QTP? for textboxs and buttons it is easy, we can use GetROProperty and then give the property as disabled or ediable, etc. But in the case of links ...
0 votes
1 answer
4k views

script for clicking link in QTP/UFT

I am currently stuck at a place while writing a script for clicking a link on a page using VB Script in QTP. Please guide how to achieve this. Any help will be highly appreciated. I am stuck here and ...
7 votes
1 answer
445 views

How can I teach QTP to treat a control as another similar control?

I have a third party check box control in my AUT that QTP does not recognize. Is there a way to have QTP treat it as a regular .NET check box?