Skip to content

Instantly share code, notes, and snippets.

@peeraponggg

peeraponggg/robot3.robot

Last active Oct 9, 2018
Embed
What would you like to do?
*** 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