Issue 99713 - [Automation] Try to speed up w_updt.bas / fix strange tests
Summary: [Automation] Try to speed up w_updt.bas / fix strange tests
Status: CLOSED FIXED
Alias: None
Product: QA
Classification: Unclassified
Component: testscripts (show other issues)
Version: current
Hardware: Sun Solaris
: P3 Trivial
Target Milestone: ---
Assignee: joerg.skottke
QA Contact: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 11:04 UTC by joerg.skottke
Modified: 2013-08-07 15:07 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joerg.skottke 2009-02-27 11:04:33 UTC
The writer update test has 68 minutes worth of sleep() statements. 
Guessed 95% of those are not required as they are caused by not using best
coding practices like
- MyDialog.exists( n )
- Waiting for an enormous amount of time for asynchronous slots (instead of probing)
The approach here would be to set GLOBAL_USE_NEW_SLEEP to TRUE and to use two
newly written functions hUseAsyncSlot() and hClickButton() which both use
probing instead a fixed amount of time to determine whether a slot is ready or not.

Some of the tests are somewhat fuzzy (they allow errors to go unnoticed as they
e.g. close unexpected dialogs and error messages without printing anything to
the logs. This should be fixed while refactoring the code.
Comment 1 joerg.skottke 2009-02-27 11:10:03 UTC
Started
Comment 2 joerg.skottke 2009-03-27 12:15:25 UTC
working on w_001*_ 70% done, already 5 minutes saved.
Comment 3 joerg.skottke 2009-03-31 10:47:22 UTC
Completed for now, further action required at a later point.
Comment 4 joerg.skottke 2009-03-31 10:50:48 UTC
Set verified
Comment 5 joerg.skottke 2009-10-09 08:11:19 UTC
Close