Re: How to Optimize Automation Scripts



On May 23, 1:29 pm, abu bakar siddiq <sab...@xxxxxxxxx> wrote:
Hello All,
May i know how to optimize scripts.
Any algorithm or suggestions will be most welcomed.

Any articles and documents will be thankful.
thanking you,
Regards,
Siddiq

Are you really sure that automated tests need to be optimized?
Optimization will bring in additional cost, except for the case when
it is optimized for maintainability. Additional cost is not what we
seek in testing. Tests should be simple and chip in order to be
effective. Sometimes solutions not related to changing the test code
work better. You may consider adding computers to your test lab, or
using several virtual machines on one computer to spread the execution
on more computers.

I also noted that if you created automated tests using GUI automation
tool (like SilkTest, Winrunner, or Robot) there may be special delays
that make tests able to work on slow machines. Optimizing those delay
may make the tests bound to a specific system and will make it harder
to do configuration testing later.

----
Best Wishes,
Vladimir

.



Relevant Pages

  • Re: Why it is necessary to compile el files?
    ... Since emacs-lisp can be executed uncompiled, compilation is ... Optimization is only useful if the program takes ... with single-user computers that are 100's of times faster than the ...
    (comp.emacs)
  • Re: [opensuse] Fortran 90
    ... have computers & languages designed for business or scientific use. ... optimization is no longer needed. ... reconfigurable hardware or FPGAs. ... easily exceed traditional "general purpose" processor solutions... ...
    (SuSE)
  • Re: Compiling packages for the standard distribution with -Os instead of -O2
    ... computers that are not the latest/more recent as most people in richer ... That is the whole idea of size/speed optimization tradeoffs. ... A lot of the time the reduced ram requirement can stop swapping (big ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)