-
Notifications
You must be signed in to change notification settings - Fork 0
/
rd.robot
27 lines (22 loc) · 1.14 KB
/
rd.robot
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
*** Settings ***
Library SeleniumLibrary
*** Test Cases ***
Flow การยื่นภาษี
เข้าหน้าแรก
ตรวจสอบและปิดหน้าแสดงข่าวสาร
ทำการ login เข้าระบบการยื่นภาษี
*** Keywords ***
ทำการ login เข้าระบบการยื่นภาษี
Wait Until Element Contains xpath://*[@id="top"]/div/div[2]/button[1]
... ยื่นแบบออนไลน์
Click Element xpath://*[@id="top"]/div/div[2]/button[1]
Switch Window NEW
Wait Until Element Is Enabled id:username
Input Text id:username xxxxxxx
ตรวจสอบและปิดหน้าแสดงข่าวสาร
Wait Until Element Contains id:exampleModalLabel แจ้งข่าวสาร
Click Element xpath=//*[@id="announceModal"]/div/div/div[1]/button
เข้าหน้าแรก
Open Browser https://efiling.rd.go.th/rd-cms/ browser=gc
... options=add_experimental_option("detach", True)
Maximize Browser Window