All Questions
14 questions
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
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
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 ...
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 ...
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 -> ...
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 ...
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
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 ...
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 ...