forked from up1/course-robotframework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathebola.txt
More file actions
37 lines (28 loc) · 1.21 KB
/
ebola.txt
File metadata and controls
37 lines (28 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
*** Settings ***
Documentation ค้นหาข้อมูลจากระบบ google.com
Library Selenium2Library
Test Teardown Close All Browsers
*** Variables ***
${GOOGLE URL} http://www.google.com
*** Testcases ***
ค้นหาข้อมูลโรคติดต่อจาก google
[Template] ค้นหาข้อมูล
#-----------------------------------#
# Keyword | Expected Result #
#-----------------------------------#
อีโบลา อีโบลา
*** Keywords ***
ค้นหาข้อมูล
[Arguments] ${keyword} ${expected result}
เปิดหน้าแรกของ google
ใส่คำที่ต้องการค้นหา ${keyword}
เจอคำที่ต้องการค้นหา ${expected result}
เปิดหน้าแรกของ google
Open Browser ${GOOGLE URL}
ใส่คำที่ต้องการค้นหา
[Arguments] ${keyword}
Input Text id=gbqfq ${keyword}
Click Button id=gbqfb
เจอคำที่ต้องการค้นหา
[Arguments] ${expected result}
Wait Until Page Contains ${expected result}