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
0answers
13 views

Select function in UFT passes if menu item is disabled

In the below object: JavaWindow("label:=File: Test.java*").JavaMenu("label:=File").JavaMenu("label:=Open").Select Problem: If 'Open' menu item is disabled under 'File' menu, the select function ...
1
vote
0answers
22 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. ...
1
vote
1answer
220 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
1answer
99 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
0answers
132 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 ...
1
vote
1answer
852 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 ...
3
votes
1answer
76 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 ...
0
votes
2answers
3k 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 =...
1
vote
1answer
777 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.
2
votes
1answer
237 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
1answer
78 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 ...
1
vote
1answer
504 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 ...
2
votes
1answer
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 ...
1
vote
1answer
389 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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
541 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
2answers
870 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
votes
1answer
387 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.
0
votes
1answer
77 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 ...
0
votes
2answers
1k 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
1answer
182 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 ?
0
votes
1answer
611 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
4k 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 ...
0
votes
2answers
272 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
3answers
2k 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 ...
1
vote
1answer
5k 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 ...
0
votes
1answer
637 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
1answer
3k 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 ...
1
vote
1answer
297 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
2answers
728 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
1answer
348 views

Which automation tools support Version One [closed]

Please confirm does any of the following automation tools provides support for Version One (Agile Project Management Software)? QTP Test Complete Selenium
0
votes
1answer
1k 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
1answer
551 views

How to handle java dynamic objects in QTP?

How can I handle Java dynamic objects in QTP 11.0? There is a smoke test scenario where simple search is performed and the first occurance in JavaTable is selected (by double click) then sub-window ...
2
votes
1answer
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
1answer
3k 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 ...
2
votes
3answers
624 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
2answers
420 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
2answers
1k views

QTP Test cases fail sometimes and pass sometimes. Individually they pass

When I run my test cases individually they run ok and pass. But when I run a test suite, some of the test cases fail and when I re-run the test suite, the same test cases pass but fails another set of ...
6
votes
9answers
9k 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 ...
1
vote
1answer
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
1answer
495 views

Performance Testing Career [closed]

I've been recently reading a lot about performance testing and I really like it. My plan is to move my career into that specialty. My questions are: What are the best tools in demand right now? How ...
0
votes
2answers
1k views

How to get unique xpath with dynamic @id? [duplicate]

Hi I am facing problem to identify cause @id is dynamic :- //div[@id='SubmissionWizard:LOBWizardStepGroup:LineWizardStepSet:WC7LineCoverageScreen:WC7LineCoverageCV:WC7ConditionsDV:5:CoverageInputSet:...
1
vote
1answer
416 views

How to install an older version of Chrome that HP UFT currently supports?

As HP UFT only support older versions of non-IE browsers, how can I install the older versions of Chrome? It seems obvious to others maybe, but I don't get it. I have 2 problems here and I will really ...
0
votes
2answers
289 views

Freelancer Job For QA [closed]

I am currently working as a full time QA employee but seeking opportunity in a part time job in QA. I want to find any company or website for a part time QA job. Please suggest any.
0
votes
2answers
863 views

Selenium Reporting

During my experience in Quality Assurance, especially automation testing, I have experienced two functional test tools(QTP and Selenium). In fact, I have noticed that Selenium have more strong points ...
0
votes
1answer
6k 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
2answers
1k views

Testing Telerik UI for WPF controls using QTP/UFT

We are in the initial stages of testing Telerik controls using UFT/QTP. We used Telerik UI for WPF Sample Application Using the sample application, we tried identifying certain controls. But we found ...
4
votes
1answer
391 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
2answers
151 views

UI Automation Checking between two applications

I have a need to automate regression scenarios in the following environment: Application A process a case and dispose it to Application B. Application B wait for that case up to 10 minutes. ...