#第一種寫法:不使用變數 *** Keywords *** Auto Input #Click Checkbox的動作 Click Element xpath=html/body/div[10]/div[2]/div/div/span/div/table[1]/tbody/tr/td[2]/input #於輸入框輸入字串_elisa_SC1 Input Text xpath=html/body/div[11]/div[2]/div/div/span/div/table[2]/tbody/tr/td[2]/input _elisa_SC1 #Click Button的動作 Click Element xpath=html/body/div[11]/div[3]/div/div/div[1]/div/a/span[1] #第二種寫法:有宣告變數 *** Variables *** ${XPATH_PopupWindow_Insert_Support_Check_Healty_Checkobx} html/body/div[10]/div[2]/div/div/span/div/table[1]/tbody/tr/td[2]/input #「醫療機構維護視窗」Checkbox:提供健檢 ${TestData_System_Code_1} _elisa_SC1 # 測試資料 系統內碼 ${XPATH_PopupWindow_Insert_Insert_Button} html/body/div[10]/div[3]/div/div/div[1]/div/a/span[1] #「醫療機構維護視窗」新增 Button *** Keywords *** Auto Input Click Element xpath=${XPATH_PopupWindow_Insert_Support_Check_Healty_Checkobx} Input Text xpath=${XPATH_PopupWindow_Insert_System_Code_EditText} _elisa_SC1 Click Element xpath=${XPATH_PopupWindow_Insert_Insert_Button}
000
沒有留言:
張貼留言