zoukankan      html  css  js  c++  java
  • Build System 和Test Framework overview总结

    良好的自动化系统可以帮助Dev/Tester快速发现product/test code issue.

    正好上一个项目结束,上个项目在自动化系统上面做得非常好。从产品开始时半年release一次到后面每个月release一次。可以说这套自动化系统功不可没,当然我们团队也花了很多时间在这套系统的开发,维护上面。 

    自动化测试executed by WTT by kickoff WTT workflow to run WTT job, which will call scripts we want to run the test.

    我们有三套自动化测试 run daily & some other types to run on demand.

    Daily automation:

      INT automation – including INT upgrade, INT automation test & INT E2E automation test

      Onebox automation – onebox automation test

      CAT automation – Content Acceptance Test

    On demand automation:

      TiP – Test in Production

      Perf test – INT performance test

    Automation not related with test:

      SME Auto-publish – publish new content in Main to SME daily

    Build System Overview:

    Test Framework Overview:

     

    Test cases structure

    v  Test projects:

    Common

    $AdvisorTestCommoncommonweb

    Test cases:

    $AdvisorTestFeaturesAlerts*

    $AdvisorTestFeaturesCustomerAndUser

    v  Test cases structure

     

    Introduction of Kaf engine

    v  How kaf engine work

    Kaf engine knows the current html/silverlight page in browser, it can get all the information or property of the controls in the page through load the control name/id.

    So the most important is that we must define the structure of the target page. The structure including the page framework, layout element, some container controls and un-container controls. All the controls in the page we need define in our test source.

    Usually, we define all the controls with a tree of which the root is the silverlight page.

    v  Page definition

     

    v  How to kick off

    1. On CMD window, navigate to Kaf bin folder (cd “C:Program FilesKAFin”).
    2. Type: Latch.exe TestCaseDll [/matches: TestCaseNameRegex].

    Example: Latch.exe "D:AtlantaMain.binaries.DebugTestsMicrosoft.AttachedServices.Test.Features.Alert.Frontend.AlertFrontendTests.dll" /matches:MainPageTest_PermanentlinksVerification

  • 相关阅读:
    2012年几大传统编程语言就业趋势分析
    解决vs2010 utimate中文版添加Silverlight for WP7模板方案【WP7学习札记之一】
    ASP.NET中的加密与解密
    先睹为快:Visual Studio 11测试版已于2.29在微软官方网站正式发布
    五种常见的ASP.NET安全缺陷
    WP7开发平台介绍及开发注意事项【WP7学习札记之二】
    简单工厂模式【设计模式学习01】
    单例的若干实现总结与拓展
    按照“红线准则”设计布局【WP7学习札记之三】
    几个解放双手的 Go 开发利器
  • 原文地址:https://www.cnblogs.com/binyao/p/3437139.html
Copyright © 2011-2022 走看看