Questions tagged [hp-uft]
HP Unified Functional Testing software provides functional and regression test automation for software applications and environments. It supports keyword and scripting interfaces and features a graphical user interface.
34 questions
0
votes
1
answer
78
views
Retail POS Software
How can I start a Black Box test?
I have a POS software (EXE) installed in my PC with win 10. and HP UFT 14.03 installed. I do manual test. I want automated.
1
vote
0
answers
78
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
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 ...
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 ...
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 ...
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 ...
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 =...
2
votes
1
answer
1k
views
UFT and RestAssured
My company is working on API which is RESTful JSON Web API. So far, all my testing was done using Selenium WebDriver.
I was given a task to look for a tool that can help us automate the API tests(...
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 ...
0
votes
1
answer
8k
views
UFT 12.52 / VBScript - Test object exist, is visible and enabled before take an action
I'm automating tests using UFT 12.52 for an application.
I captured the objects for a repository and then started to create a sequence of actions on the objects.
However, there is a frequent problem....
1
vote
1
answer
739
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
1
answer
134
views
Is HP LeanFT more a DevTester Tool
We are preparing a comparative document for three test tools
Selenium
Test Complete
HP Lean FT
Have successfully created a comparative document with lots of comparisons. But there are certain points ...
1
vote
1
answer
153
views
Application object is not defined after closing and opening again in UFT
Application object is not defined after closing and opening again. There are no runtime errors but all actions performed under object in application can not force it to act, e.g.:
workersJavaTree....
1
vote
1
answer
746
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
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
435
views
UFT 12.02 integration with TFS
I am looking for UFT and TFS integration (Run test from TFS like we did with HPQC) I search on google but no help . If anyone know how to do this please let me know steps.
Thanks
4
votes
0
answers
133
views
how to add an existing script to uft using AOM/vbScript? [closed]
So I have a script which connects to QC and opens a test in UFT and runs it.
The problem with this is that the open command closes the previously opened tests.
I want to copy the file -> add -> ...
1
vote
1
answer
143
views
How to get precise performance measurements on desktop application
As a part of our quality metrics we need to calculate the time the application under test (a client - server desktop application) needs to do several common tasks like time to open a window, time to ...
0
votes
1
answer
1k
views
UFT shows "The operation cannot be performed" message when setting cell data in checkbox in Java Table
UFT shows "The operation cannot be performed" message when setting cell data in Java Table:
JavaWindow("Name1").JavaDialog("Name2").JavaTable("Name3").SetCellData 8, 0, 1
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 ...
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 ...
1
vote
2
answers
394
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
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 ...
0
votes
2
answers
14k
views
UFT Run Results Viewer does not open test results
TLDR
HP Run Results Viewer of UFT 12.52 shows Could not load run result. message on opening test result.
About UFT 12.52 Results viewing
UFT 12.52 has two possibility for results viewing:
1. ...
0
votes
1
answer
791
views
Why JavaObject can not be addressed with descriptive programming in UFT 12.52
I am trying to address JavaObject (JPanel) by means of descriptive programming (DP)
JavaWindow("label:=some label").JavaDialog("title:=some title").JavaObject([descriptor])
I checked existence of ...
1
vote
1
answer
3k
views
Executing QC TestSet via OTA API throws error
I am using the below code to execute tests in test set.
But I am facing following error :
"RunTestSet.Run->TSScheduler Exception!
The remote server machine does not exist or is unavailable
...
2
votes
1
answer
812
views
Examples for LOC figures, of test suites, and software projects?
To learn what kind of "software" project my automated testing team faces (I consider test automation a certain kind of software project), I assessed the size of our automated (functional, GUI-focussed)...
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 ...
5
votes
12
answers
4k
views
RESTful JSON Web API Testing - what tools?
My company is working on its API which is RESTful JSON Web API. So far, all my testing was done using Selenium WebDriver. Starting from one and more tests I manage to create some sort of framework. ...
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
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 ...
4
votes
2
answers
668
views
HP-UFT Organizing Test Projects
Does anyone have any tips or good links for how to best organize projects in HP-UFT? I'm just beginning to use UFT rather than MTM and am finding some aspects unwieldy. What I'm trying to do is as ...
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 ...
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 ...