This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dongxiaoyan-tsg-autotest/02-Keyword/tsg_ui/mail/Mail.robot

50 lines
1.4 KiB
Plaintext

*** 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