You are here:
  AQAS Home
    > Products
        > SVaT
            > Scenario2

Scenario 2: New test candidate, hours to turn it round, and R&D have refactored the whole GUI!

Your situation

R&D have just released their next test candidate to you several days late, and you have a couple of days before the planned alpha release. The GUI has been extensively restructured.

Solution

This situation is traditionally a nightmare, as all automated test scripts have to be verified and changed to reflect the structure of the new GUI. Which in turns means verifying thousands of lines of test script code.

However, with SVaT the situation presents itself very differently. You can refactor your tests in an hour or two, and spend the rest of the day extending your test coverage. And, all the tests remain reusable for the next test candidate.

The steps you take using SVaT are outlined here:
Expand all, Collapse All

  1. Preparation: Install SVaT (if you need to) and the AUT (more...)
    If you have lost your original installation, reinstall SVaT (the System Verification and Test suite) and install the new revision of the AUT (the application under test).

    Time: at least 10 minutes.

  2. Template Re-capture: Re-capture of the GUI structure (more...)
    The next step is to capture the new GUI structure of the AUT such that you can easily compare it to the existing structure.

    Time: about 20 minutes to 1 hour 10 minutes

  3. Template Update: Update of the GUI elements in the templates (more...)
    Compare the newly recorded GUI structure with the GUI structure recorded for the original test candidate, and change the templates in the SVaT Verification Designer wherever they differ.

    Time: 1-2 hours

  4. Generation and Execution: Generate test scripts, run them against the AUT (more...)
    Once you have made the changes, you simply generate your test scripts again, and all the test scripts are updated! Your test scripts are now ready to be executed on the new candidate.

    Time: from about 5 minutes

  5. Fault detection: Examination of Results (more...)
    Once the test scripts have been executed, you can load the results back into SVaT and examine them in direct relation to the modified Design.

    Time: 5 minutes to 1 hour (depending on number of errors)

  6. Outcomes
    The benefits of this approach include:

    • You can update a significant number of test scripts in a couple of hours.
    • You can still load and see (most of) the results from previous versions of your design with the new design.
    • You have an automated trace of the tests you have made and executed, and can use this as documentation in your test reports and as an audit trail later, as needed.
    • If you should be unavailable at a critical time, then it will be much easier for somebody else to adapt your test scripts because the syntax used in SVaT is so intuitive.