forked from up1/course-robotframework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgmail.txt
More file actions
41 lines (33 loc) · 1.52 KB
/
gmail.txt
File metadata and controls
41 lines (33 loc) · 1.52 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
37
38
39
40
41
*** Settings ***
Library Selenium2Library
*** Variables ***
*** Testcases ***
Login and Logout
Open Browser http://www.gmail.com
Maximize Browser Window
Input Text Email somkiat.p@gmail.com
Input Text Passwd <password>
Click Button signIn
Wait Until Page Contains Element xpath=//div[1]/a/span[@class='gb_W gbii'] 10
Click Element xpath=//div[1]/a/span[@class='gb_W gbii']
Wait Until Element Is Visible xpath=//div[1]/a/span[@class='gb_W gbii']
Click Link gb_71
Wait Until Page Contains Sign in to continue to Gmail
Compose New Email
Open Browser http://www.gmail.com
Maximize Browser Window
Input Text Email somkiat.p@gmail.com
Input Text Passwd <password>
Click Button signIn
Wait Until Page Contains Element xpath=//div[@class='z0']/div 10
Click Element xpath=//div[@class='z0']/div
Wait Until Page Contains Element xpath=//div[@class='wO nr l1']/textarea
Input Text xpath=//div[@class='wO nr l1']/textarea somkiat.p@gmail.com
Input Text xpath=//div[@class='aoD az6']/input ทดสอบ
Wait Until Element Is Visible xpath=//div[@class='Am Al editable']/iframe
Select Frame xpath=//div[@class='Am Al editable']/iframe
Wait Until Element Is Visible xpath=//body
Execute JavaScript document.body.innerHTML = "some html";
Unselect Frame
Wait Until Page Contains Element xpath=//div[@class='J-J5-Ji']/div[@class='T-I J-J5-Ji aoO T-I-atl L3']
Click Element xpath=//div[@class='J-J5-Ji']/div[@class='T-I J-J5-Ji aoO T-I-atl L3']