3
votes
Compilation error on variable declaration in QTP
This was surprisingly difficult to track down.
VBScript does not allow a variable to be declared and assigned in the same statement.
You need to change your code to
Dim plus
plus = 10
2
votes
Accepted
If condition passes, but the code is not executed
I don't use uft and they seem to hide a lot of their documentation, but per http://uft-help.saas.hpe.com/en/14.00/UFT_Help/Content/User_Guide/Und_Chkpt_Statements.htm it looks like you should just ...
2
votes
UFT 12.02 integration with TFS
I don't think this will happen because HP has their own test management tool and don't seem to want to support others.
2
votes
Accepted
How to report and record a negative test case
They should be marked as succeeding, not failing.
The test itself is to validate that low privilege users can't access things that they aren't permitted to, so a successful test is one in which ...
1
vote
Retail POS Software
How can I start a black box test?
It sounds like you might already be doing black box testing, as black box tests can be manual or automated. If you don't have manual black box tests, then you'll ...
1
vote
How to identify & choose unique properties for objects identification in QTP/UFT?
Sometimes there is not a single property which will uniquely identify the object and we have to use a number of properties to identify the one we are looking for. In my experience, you keep adding ...
1
vote
Using objects in repository to describe/gather collection of similar objects
No. UFT generates an error every time it finds multiple objects matching the description.
Maybe consider why you want to create the collection in the first place.
I personally would argue against ...
1
vote
RESTful JSON Web API Testing - what tools?
Late answer here, but I'm the dev of a new open-source framework called Karate.
Karate was created out of my frustration with the existing options for automating REST/JSON API tests. I'm glad to say ...
1
vote
UFT 12.52 / VBScript - Test object exist, is visible and enabled before take an action
There is a logic error in this line of code:
If ((testObjProperty(obj,"exist") = true) And (testObjProperty(obj,"visible") = true) And (testObjProperty(obj,"enabled") = true)) Then
There is a logic ...
1
vote
Accepted
How to check property of JavaToolbar button with UFT/QTP?
GetItemProperty([item], [property]) method is used to check property of JavaToolbar item. E.g.:
enabledProp = JavaWindow("label:=WinTitle").JavaToolbar("attached text:=ToolbarName").GetItemProperty("...
1
vote
Is HP LeanFT more a DevTester Tool
Yes as LeanFT does not include the record and playback functionality that full UFT does. Saying that all of these tools will require programming skills to some degree to get the most out of them.
...
1
vote
Accepted
Application object is not defined after closing and opening again in UFT
After reopening the object in application UFT object should be reinitialized:
workersJavaTree.init()
And then all actions under the object are performed well.
Hierarchical structure while ...
1
vote
Accepted
How to get Object count UFT
Not clear from your question, but it sounds like you don't track which objects you've already counted, so when the popup is reopened, you're counting the previously selected list elements for the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hp-uft × 34qtp × 19
vbscript × 14
automated-testing × 10
uft-12.52 × 7
uft × 5
java × 4
api-testing × 2
web-application × 2
quality-center × 2
test-report × 2
hp-alm × 2
qtp-11.0 × 2
selenium-webdriver × 1
performance × 1
uiautomation × 1
bug-report × 1
metrics × 1
coverage × 1
tfs × 1
training × 1
testcomplete × 1
hp-alm-12.20 × 1
negative-test × 1
batch-file × 1