MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 390751 of Gaia UI Tests Guidelines

  • Revision slug: Mozilla/Boot_to_Gecko/Testing_Boot_to_Gecko/gaia-ui-tests
  • Revision title: Gaia UI Tests Guidelines
  • Revision id: 390751
  • Created:
  • Creator: ypwalter
  • Is current revision? No
  • Comment

Revision Content

這個頁面尚未完成。請有志一同的夥伴幫忙補充。

有任何意見都可以寄到 gaia-ui-automation@mozilla.org。

簡介

    Gaiatest is a Python package based on Marionette, which is designed specifically for writing tests against Gaia. It's like a mobile phone version of Selenium Webdriver in python version. Basically, it's using python to communicate with device/emulator, and it would execute javascript inside device/emulator to act the device/emulator.

    The main repository is currently in github: Mozilla/gaia-ui-tests. Due to Taiwan's local test needs, we also have another repository synchronized with main repository: Mozilla-TWQA/gaia-ui-tests. Before you started new area of test script writing, you might want to look into Mozilla-TWQA/gaia-ui-tests to see if they get something ready for you already.

環境設立

Please see Gaia UI Tests Environment Setup for reference.

 

執行測試

Please see this page for reference.

 

開始寫測試

Please see this page for reference.

 

 

Revision Source

<div class="warning">
  <p>這個頁面尚未完成。請有志一同的夥伴幫忙補充。<br />
    <br />
    有任何意見都可以寄到 gaia-ui-automation@mozilla.org。</p>
</div>
<h2 id="Introduction">簡介</h2>
<p>&nbsp;&nbsp;&nbsp; Gaiatest is a Python package based on <a href="https://developer.mozilla.org/en-US/docs/Marionette" title="https://developer.mozilla.org/en-US/docs/Marionette">Marionette</a>, which is designed specifically for writing tests against <a href="https://github.com/mozilla-b2g/gaia" title="https://github.com/mozilla-b2g/gaia">Gaia</a>. It's like a mobile phone version of <a href="http://docs.seleniumhq.org/projects/webdriver/" title="http://docs.seleniumhq.org/projects/webdriver/">Selenium Webdriver</a> in python version. Basically, it's using python to communicate with device/emulator, and it would execute javascript inside device/emulator to act the device/emulator.</p>
<p>&nbsp;&nbsp;&nbsp; The main repository is currently in github:<a href="https://github.com/mozilla/gaia-ui-tests" title="https://github.com/mozilla/gaia-ui-tests"> Mozilla/gaia-ui-tests</a>. Due to Taiwan's local test needs, we also have another repository synchronized with main repository: <a href="https://github.com/Mozilla-TWQA/gaia-ui-tests" title="/Mozilla-TWQA/gaia-ui-tests">Mozilla-TWQA/gaia-ui-tests</a>. Before you started new area of test script writing, you might want to look into Mozilla-TWQA/gaia-ui-tests to see if they get something ready for you already.</p>
<h2 id="Environment_Setup">環境設立</h2>
<p>Please see <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/gaia-ui-tests/Gaia_UI_Tests_Installation" title="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/gaia-ui-tests/Gaia_UI_Tests_Installation">Gaia UI Tests Environment Setup</a>&nbsp;for reference.</p>
<p style="text-align: center;">&nbsp;</p>
<h2 id="Running_Tests">執行測試</h2>
<p>Please see <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/gaia-ui-tests/Gaia_UI_Tests_Run_Tests" title="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/gaia-ui-tests/Gaia_UI_Tests_Installation">this page</a> for reference.</p>
<p style="text-align: center;">&nbsp;</p>
<h2 id="Writing_Tests">開始寫測試</h2>
<p>Please see <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/gaia-ui-tests/Gaia_UI_Tests_Write_Tests" title="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/gaia-ui-tests/Gaia_UI_Tests_Installation">this page</a> for reference.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
Revert to this revision