Skip to main content
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
Kate Paulk's user avatar
  • 31.5k
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.
Adam Kolařík's user avatar
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 ...
c32hedge's user avatar
  • 2,689
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 ...
Kevin McKenzie's user avatar
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 ...
DtotheK's user avatar
  • 618
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 ...
Garry's user avatar
  • 111
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 ...
Ivan Gerasimenko's user avatar
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("...
Ivan Gerasimenko's user avatar
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. ...
SteveS's user avatar
  • 56
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 ...
Ivan Gerasimenko's user avatar
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 ...
Radek's user avatar
  • 313
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 ...
Adam Kolařík's user avatar
1 vote

How to limit test execution time in UFT/QTP?

Wow... you're making this much harder than it has to be. QTP actually DOES have a timing system built in, you can set and check MANY timers as needed. Here's how I wait for something that could take ...
Trimble Epic's user avatar
1 vote
Accepted

Why JavaObject can not be addressed with descriptive programming in UFT 12.52

The solution that works for me now is set of properties: toolkit class & attached text. Till now I tested this set of descriptors with toolkit class of JavaObject: JEllipsisTextField JRootPane ...
Ivan Gerasimenko's user avatar
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 ...
Peter Thomas's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible