-
Notifications
You must be signed in to change notification settings - Fork 783
Expand file tree
/
Copy pathentry_point.robot
More file actions
36 lines (33 loc) · 1.36 KB
/
entry_point.robot
File metadata and controls
36 lines (33 loc) · 1.36 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 ***
Library Process
*** Test Cases ***
Entry Point Version
${process} = Run Process
... python -m SeleniumLibrary.entry --version
... shell=True
... cwd=${EXECDIR}${/}src
Log ${process.stdout}
Log ${process.stderr}
Should Be Equal As Integers ${process.rc} 0
Should Be Empty ${process.stderr}
Should Contain ${process.stdout} Used Python is:
Should Contain ${process.stdout} Installed selenium version is:
Entry Point Translation
${process} = Run Process
... python -m SeleniumLibrary.entry translation ${OUTPUT_DIR}${/}translation.json
... shell=True
... cwd=${EXECDIR}${/}src
Log ${process.stdout}
Log ${process.stderr}
Should Be Equal As Integers ${process.rc} 0
Should Be Empty ${process.stderr}
Should Be Equal ${process.stdout} Translation file created in ${OUTPUT_DIR}${/}translation.json
${process} = Run Process
... python -m SeleniumLibrary.entry translation --compare ${OUTPUT_DIR}${/}translation.json
... shell=True
... cwd=${EXECDIR}${/}src
Log ${process.stdout}
Log ${process.stderr}
Should Be Equal As Integers ${process.rc} 0
Should Be Empty ${process.stderr}
Should Be Equal ${process.stdout} Translation is valid, no updated needed.