LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing "IBM Rational Functional Tester" with LabWindows/CVI

I'm trying to use "IBM Rational Functional Tester" to automate my testing.  The software works, but does not recognize any objects (buttons, indicators, etc) inside a CVI panel.  It only knows panel coordinates within the GUI panel.  This is a problem for the automation I need and have planned.
 
On the other hand, LabView application objects (buttons, indicators, etc) are recognized by this test automation software.
 
Is there anyway I can fix or get around this problem
0 Kudos
Message 1 of 3
(3,132 Views)
Hello Rodger,
 
So how are you automating CVI with your IBM application?  Is it through ActiveX, or are you passing in a UIR file into this application, then another dialog appears displaying which controls are on the user interface, or do have another setup?  Pretty much, in order to start debugging this we need to have some further description on how the IBM Rational Function Testing is working and how it is interfacing with CVI and the user interface.  It would be also helpful if you could provide information on how it interfaces with LabVIEW as well since you mentioned it worked with those applications.
 
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 3
(3,124 Views)
Wendy,

We are running the tool in "Learn Mode".
It watches a GUI application and builds a script like file with
mouse and key strokes so you can "play it back"
in a "test mode". WinRunner and other automated
GUI test products work the same way.
I don't know exactly how it does this.

The entries show the correct GUI panel name and a coordinate for
where the mouse was when the button was clicked.
If the buttons, indicators, and controls do not change
position, you can map out what is where and deal with it.

However, to try to build and support an automated GUI test by using
GUI coordinates is not a good idea. If anything changes
like the position of a button or control, or the panel gets
resized, the test will not work anymore.

The LabView GUI shows the GUI panel and the button object
name that you just clicked. (no coordinates)

I suspect since
LabWindows is "C" based, object names do not get
assigned for the GUI objects and thus are not available to
the automated testware.

My question: Is there a build option or utility I can run
that will generate object names for LabWindows GUI objects?

Thanks

Rodger Olds
LLNL
0 Kudos
Message 3 of 3
(3,116 Views)