Robot v2000 playback with a Powerbuilder 6.5 application vs. Powe
User McCarthy.Evelyn (Evelyn.McCarthy@ftb.ca.gov.nospam) posted:
The application we are testing has been upgraded from Powerbuilder (PB) 6.5
to PB 7.0.3. We are regression testing the upgraded application and have
noted a difference in the ListView focus on the PB windows which causes
numerous script command failures in our playback. With the upgrade the
ListView focus is no longer set inside the container. Column sizes and Row
spacing has also changed.
We reported the issue to our development team and they have contacted PB.
PB is aware of the change in focus on the ListView windows, but has not
decided if it is a defect or new feature. The same exists for PB 8. This
change to the PB Listview effects the timeliness of system testing and we've
given the issue a High priority. However, our development team feels this
change in navigation on the PB window has a low priority and they do not
intend to fix it.
Short of re-recording our body to regression test scripts, do you have any
proven suggestions for a work-around/solution?
PASS System Test Team
Audit Information Technology Management
Re: Robot v2000 playback with a Powerbuilder 6.5 application vs. Powe
User (email@example.com) posted:
Your first mistake was using a "record-only" approach to creating your
test scripts. At this stage, I would recommend identifying how to work
around the problem, then encapsulating the functional area(s) where this
problem occurs in one or more test subroutines, making sure to code for
the new behavior. Create header (.sbh) and library (.sbl) files to
contain the declarations and definitions (code) for the test subs. Add a
reference to the header file to the affected test scripts, and replace the
recorded code with calls to the test sub.
This way, you will only have to modify the code in one subroutine (except
for any special cases that the test sub does not handle, in which case
there may be some code in scripts that also requires changes).