Results 1 to 4 of 4

Thread: how to write automated GUI tests

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Answers
    9

    how to write automated GUI tests

    Can anybody explain, how can we write automated GUI tests?


  2. #2

    Re: how to write automated GUI tests

    Automated GUI tests can be written in either of two ways:

    1. Recording and editing the scripts generated while recording the application and
    2. Writing code by using script language, for example, if you are using winrunner you can write scripts through TSL (Test Script Language).

    Usually, when you are doing regression test on a application it is always better to write code by recording and playback and then enhance the code by writing functions, parameterization, inserting checkpoints through coding the scripts.


  3. #3
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: how to write automated GUI tests

    Hi Zecar,

    GUI Automation test scripting consits of 2 major operations - Recognition of the Objects involved in the functional flow, recording the navigational flow of the required modules.

    Sometimes when you record and playback applications, Object recognition fails at certain instances. This could be because either the concerned Object does not get displayed or is child object which does not get displayed.

    Record your functional flow as per Manual testcases. During recording Winrunner would learn all the objects associated with the flow into a GUI Map.
    Once complete, playback the script. This is called as a Raw TSL script.

    Check if it fails at any instance. Ascertain the reason and change the flow, include wait() or change Object Properties accordingly.

    Proceed ahead with Checkpoints and Parameterization.

    NOTE : Incase you are really comfortable with TSL scripting, learn all objects into a GUI Map first and proceed with scripting directly.

    Cheers..........
    Bizzzzzare


  4. #4
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: how to write automated GUI tests

    Quote Originally Posted by zecar View Post
    Can anybody explain, how can we write automated GUI tests?
    Whenever you will automate any test, the things matter is test cases which you automate, and as per my knowledge, GUI test cases can automated easily using automation tools, for every object check all options given to check when execute automate script, GUI will automatically tested.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact