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: 

     

  • 相关阅读:
    python3----练习......
    python3----练习题(....)
    python3----requests
    python3----练习题(爬取电影天堂资源,大学排名,淘宝商品比价)
    python3----练习题(图片转字符画)
    python3----练习题(....)
    ConfigParser 读写配置文件
    数据驱动ddt+excel数据读取
    数据驱动ddt
    expected_conditions判断页面元素
  • 原文地址:https://www.cnblogs.com/markjiao/p/2252938.html
Copyright © 2011-2022 走看看