-
於c槽新增txt文字文件,命名為device (路徑:c:\device.txt)
-
開啟device.txt
-
輸入手機udid及Android版本
3.1 假設第一支手機的udid為HT4C4YC01143及Android版本為4.4.4;第二支手機的udid為N2K7N15601001087及Android版本為5.0.1
3.2 先輸入所有udid後,在依udid順序輸入Android版本,如下圖 (使用逗點區隔)
-
將StringTable.xls放置c槽 (路徑:c:\StringTable.xls)
-
設定手機語系為繁體中文
-
安裝Appium studio (https://experitest.com/appium-studio/)
-
新增測試手機至Appium studio並啟動手機 (請參考Getting started)
===============================================================================
Login_Junit, CreateAccount_Junit, ForgotPassword_Junit, LiveView_Junit
===============================================================================
1. WrongEmail
2. WrongPassword
3. EmailBlank
4. PasswordBlank
1. CreateAccount
2. InvaliedEmail
3. ExistedAccount
4. EmailBlank
5. ConfirmPwdBlank
6. NewPwdBlank
7. NewPwdAndConfirmPwdNotMatch
8. NicknameBlank
9. DonotCheckTermsofUser
10. WrongPwdRule
1. EmailBlank
2. InvalidEmail
3. ForgotPwd
1. Portrait/Landscape模式
1.1 Listener
1.2 Speaker
1.3 Recording
1.4 Snapshot
1.5 Brightness
1.6 Contrast
=================================================================================
-
開啟StringTable.xls (請勿更改附檔名)
-
*_ExpectResult存放期望結果;*_CaseName存放各案例名稱
-
根據*_CaseName內各案例順序,於*_ExpectResult填入期望結果 (e.g. Login_CaseName內第一列第一欄案例為WrongEmail,則Login_ExpectResult的第一列第一欄填入期望結果為"電子郵件或密碼錯誤",其餘依此類推)