提交孙姜月ui-administrator代码,其中create-user-001和create-001两个case存在定位问题。
This commit is contained in:
49
02-Keyword/tsg_ui/mail/Mail.robot
Normal file
49
02-Keyword/tsg_ui/mail/Mail.robot
Normal file
@@ -0,0 +1,49 @@
|
||||
*** Settings ***
|
||||
Library Selenium2Library
|
||||
|
||||
*** Keywords ***
|
||||
openbrower
|
||||
Open Browser http:192.168.40.120 chrome
|
||||
|
||||
Create-Server
|
||||
[Arguments] ${Server}
|
||||
sleep 2
|
||||
input text xpath=//*[@id="app"]/div/div[3]/div/div/div/div[2]/form/div[1]/div/div/input ${Server}
|
||||
|
||||
Create-Port
|
||||
[Arguments] ${Port}
|
||||
sleep 2
|
||||
input text xpath=//*[@id="app"]/div/div[3]/div/div/div/div[2]/form/div[2]/div/div/input ${Port}
|
||||
|
||||
Create-Username
|
||||
[Arguments] ${Name}
|
||||
sleep 2
|
||||
input text xpath=//*[@id="app"]/div/div[3]/div/div/div/div[2]/form/div[4]/div/div/input ${Name}
|
||||
|
||||
Create-Account
|
||||
[Arguments] ${Account}
|
||||
sleep 2
|
||||
input text xpath=//*[@id="app"]/div/div[3]/div/div/div/div[2]/form/div[5]/div/div/input ${Account}
|
||||
|
||||
Create-Password
|
||||
[Arguments] ${Password}
|
||||
sleep 2
|
||||
input text xpath=//*[@id="app"]/div/div[3]/div/div/div/div[2]/form/div[6]/div/div/input ${Password}
|
||||
|
||||
Create-Ok
|
||||
sleep 1
|
||||
click button id=mailServerOk
|
||||
|
||||
login
|
||||
Input Text xpath=//*[@id="app"]/div/div[2]/div/div[2]/div/input sjy
|
||||
sleep 1
|
||||
Input Text xpath=//*[@id="app"]/div/div[2]/div/div[3]/div/input 111111
|
||||
sleep 1
|
||||
click element id=login
|
||||
sleep 2
|
||||
|
||||
Ui-login
|
||||
click element id=children6
|
||||
sleep 2
|
||||
click element id=sidebarsystem_MailServer
|
||||
sleep 2
|
||||
Reference in New Issue
Block a user