Last active
October 9, 2018 09:43
-
-
Save peeraponggg/306371c685134dcbb9506ec4cf800f65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library Selenium2Library | |
Library String | |
Suite Setup Open Browser www.google.com Chrome | |
Test Setup Click Element id = gb_70 #ปุ่ม ลงชื่อเข้าสู่ระบบ | |
Test Teardown Go To www.google.com | |
Suite Teardown Close Browser | |
*** Test Cases *** | |
กรอก email ไม่พบบัญชี | |
Input Text id = identifierId .example@gmail.com | |
Click Element id = identifierNext | |
Element Text Should Be xpath = //*[@id="view_container"]/div/div/div[2]/div/div[1]/div/form/content/section/div/content/div[1]/div/div[2]/div[2] ไม่พบบัญชี Google ของคุณ | |
กรอก email ผิด format | |
Input Text id = identifierId @gmail.com | |
Click Element id = identifierNext | |
Element Text Should Be xpath = //*[@id="view_container"]/div/div/div[2]/div/div[1]/div/form/content/section/div/content/div[1]/div/div[2]/div[2] ป้อนอีเมลหรือหมายเลขโทรศัพท์ที่ถูกต้อง |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment