zoukankan      html  css  js  c++  java
  • GUI Automation Test Distilled 图形用户界面自动化测试精粹

    UI automation test framework:

    1.       Framework invoker: Linux cron or Windows schedule task, Java TimeTask;

    2.       Automation test framework better uses a programmatic scripting language like perl/python. Batch script on Windows is not good enough.

    3.       Utilize different tools’ advantages. For example, use Ant ftp get rather then write a new script with Perl.

    4.       Test results reporting: email and web pages.

    5.       Logging: need a complete runtime log for failure debugging.

    6.       Failure record: use screenshot or video to record uncaught test failures.

    7.       Consider globalization testing: reuse test cases and enable g11n test by a switch.

     

    Automation test:

    1.       Must clean test environment before call automation tool to run tests.

    2.       Check test env before run tests.

    3.       Set default pass status as false.

     

     

    UI automation test cases:

    1.       Select them from functional test cases but save them as new if change them for automation;

    2.       Separate test suites for different purpose: BAT(build acceptance test), functional (old release, new features);

    3.       Automation test case review periodly especially for BAT;

     

    UI automation test framework sequence diagram:

    UI automation test sequence diagram:

    JUnit test framework usecase diagram

     

    Installation automation activity diagram: 

     

     

     

    Installation automation sequence diagram: 

     

  • 相关阅读:
    TC字符界面菜单程序【原创】
    图片定时自动播放
    根据登录的不同权限,登录不同的窗口!
    html布局
    sprig 的基本使用方法和运用领域
    hibernate的链接数据库的基本步骤
    Jquery
    Java链接数据库的基本步骤
    ajax
    SQL索引的初步使用
  • 原文地址:https://www.cnblogs.com/markjiao/p/2252938.html
Copyright © 2011-2022 走看看