Mailing list - Entries of 2005

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] component recognition -- configuration change recovery

  • Subject: Re: [qftestJUI] component recognition -- configuration change recovery
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 26 Oct 2005 15:32:01 -0000

Hello Joe,

qftestJUI will do most of the work for you, but it's not fully
automated yet.

First, make a backup copy of all your suites :-)

Second, make sure you're using the latest qftestJUI version.

Next, make sure that all include and reverse include settings in the
root-nodes of all test-suites are correct and match up.

Then you can upgrade your suites as follows:

Change the name override attribute to "hierarchical" for recording and
"override everything" for replay.

Step through your test using the debugger. Whenever a new window
appears in the SUT, locate the node for that window in your
test-suites, right-click and select "Update components". This will
bring the nodes for all compantents that are currently visible in this
window up to date with the new settings. qftestJUI will take care of
updating all nodes that reference these components to use the new
component ids.

To speed up the process, you can continue the test-run by un-pausing
it and hit Alt-F12 to suspend it when a new window opens.

When you're done, change the name override option for replay to
hierarchical as well.

Some hand-work will probably be left, but you should be able to
salvage most of your tests.

Best regards,

"Joe Greene" <joe.greene@?.com> writes:

>    QFS,
>    I just had to change the Components Recording configuration to
>    Hierarchical Resolution to adjust to the lack of consistent setName
>    usage by the developers of my product.
>    I adjusted this in one test suite and ran the Update Components
>    function. I had to basically rebuild my script to use the "new" named
>    components.
>    That suite is working ok now.
>    BUT, all my other scripts and packages are at risk of failing because
>    of renamed components.
>    Is there a QFS function that I can run to rebuild all the Component
>    features as well as the individual Sequence processes of my scripts in
>    a batch mode?
>    I don't have a whole bunch of scripts built up yet, but to do what I
>    have one by one, will be a bit of a pain.
>    I'm assuming that to do this I need to go into each
>    suite/procedure/package that has components defined and run the Update
>    Components and the adjust the sequence items to reflect.
>    Thanks for your time and efforts.
>    ++meanjoe
>    Joe Greene
>    Premier Data Services
>    Quality Assurance/Customer Support
>    [1]joe.greene@?.com
>    303-316-3732
>    800-210-9100
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876