added more tests, updated .drone.yml accordingly
Some checks failed
continuous-integration/drone/push Build is failing

* [WIP]
This commit is contained in:
surtur 2020-05-12 14:33:18 +02:00
parent d56346abed
commit 63298480d4
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
50 changed files with 2201 additions and 0 deletions

View File

@ -179,6 +179,326 @@ steps:
depends_on:
- reveal-env
- name: test10
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test10
- robot -T -d results/${DRONE_STAGE_NAME}/test10 test10.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test11
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test11
- robot -T -d results/${DRONE_STAGE_NAME}/test11 test11.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test12
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test12
- robot -T -d results/${DRONE_STAGE_NAME}/test12 test12.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test13
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test13
- robot -T -d results/${DRONE_STAGE_NAME}/test13 test13.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test14
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test14
- robot -T -d results/${DRONE_STAGE_NAME}/test14 test14.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test15
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test15
- robot -T -d results/${DRONE_STAGE_NAME}/test15 test15.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test16
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test16
- robot -T -d results/${DRONE_STAGE_NAME}/test16 test16.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test17
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test17
- robot -T -d results/${DRONE_STAGE_NAME}/test17 test17.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test18
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test18
- robot -T -d results/${DRONE_STAGE_NAME}/test18 test18.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test19
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test19
- robot -T -d results/${DRONE_STAGE_NAME}/test19 test19.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test20
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test20
- robot -T -d results/${DRONE_STAGE_NAME}/test20 test20.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test21
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test21
- robot -T -d results/${DRONE_STAGE_NAME}/test21 test21.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test22
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test22
- robot -T -d results/${DRONE_STAGE_NAME}/test22 test22.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test23
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test23
- robot -T -d results/${DRONE_STAGE_NAME}/test23 test23.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test24
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test24
- robot -T -d results/${DRONE_STAGE_NAME}/test24 test24.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test25
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test25
- robot -T -d results/${DRONE_STAGE_NAME}/test25 test25.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test26
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test26
- robot -T -d results/${DRONE_STAGE_NAME}/test26 test26.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test27
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test27
- robot -T -d results/${DRONE_STAGE_NAME}/test27 test27.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test28
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test28
- robot -T -d results/${DRONE_STAGE_NAME}/test28 test28.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: test29
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/test29
- robot -T -d results/${DRONE_STAGE_NAME}/test29 test29.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: copy-cache
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
@ -194,7 +514,36 @@ steps:
- success
- failure
depends_on:
- test00
- test01
- test02
- test03
- test04
- test05
- test06
- test07
- test08
- test09
- test10
- test11
- test12
- test13
- test14
- test15
- test16
- test17
- test18
- test19
- test20
- test21
- test22
- test23
- test24
- test25
- test26
- test27
- test28
- test29
volumes:
- name: cache
@ -238,6 +587,470 @@ steps:
depends_on:
- reveal-env
- name: m-test01
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test01
- robot -T -d results/${DRONE_STAGE_NAME}/m-test01 m-test01.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test02
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test02
- robot -T -d results/${DRONE_STAGE_NAME}/m-test02 m-test02.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test03
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test03
- robot -T -d results/${DRONE_STAGE_NAME}/m-test03 m-test03.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test04
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test04
- robot -T -d results/${DRONE_STAGE_NAME}/m-test04 m-test04.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test05
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test05
- robot -T -d results/${DRONE_STAGE_NAME}/m-test05 m-test05.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test06
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test06
- robot -T -d results/${DRONE_STAGE_NAME}/m-test06 m-test06.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test07
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test07
- robot -T -d results/${DRONE_STAGE_NAME}/m-test07 m-test07.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test08
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test08
- robot -T -d results/${DRONE_STAGE_NAME}/m-test08 m-test08.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test09
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test09
- robot -T -d results/${DRONE_STAGE_NAME}/m-test09 m-test09.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test10
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test10
- robot -T -d results/${DRONE_STAGE_NAME}/m-test10 m-test10.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test11
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test11
- robot -T -d results/${DRONE_STAGE_NAME}/m-test11 m-test11.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test12
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test12
- robot -T -d results/${DRONE_STAGE_NAME}/m-test12 m-test12.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test13
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test13
- robot -T -d results/${DRONE_STAGE_NAME}/m-test13 m-test13.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test14
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test14
- robot -T -d results/${DRONE_STAGE_NAME}/m-test14 m-test14.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test15
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test15
- robot -T -d results/${DRONE_STAGE_NAME}/m-test15 m-test15.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test16
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test16
- robot -T -d results/${DRONE_STAGE_NAME}/m-test16 m-test16.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test17
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test17
- robot -T -d results/${DRONE_STAGE_NAME}/m-test17 m-test17.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test18
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test18
- robot -T -d results/${DRONE_STAGE_NAME}/m-test18 m-test18.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test19
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test19
- robot -T -d results/${DRONE_STAGE_NAME}/m-test19 m-test19.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test20
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test20
- robot -T -d results/${DRONE_STAGE_NAME}/m-test20 m-test20.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test21
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test21
- robot -T -d results/${DRONE_STAGE_NAME}/m-test21 m-test21.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test22
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test22
- robot -T -d results/${DRONE_STAGE_NAME}/m-test22 m-test22.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test23
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test23
- robot -T -d results/${DRONE_STAGE_NAME}/m-test23 m-test23.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test24
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test24
- robot -T -d results/${DRONE_STAGE_NAME}/m-test24 m-test24.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test25
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test25
- robot -T -d results/${DRONE_STAGE_NAME}/m-test25 m-test25.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test26
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test26
- robot -T -d results/${DRONE_STAGE_NAME}/m-test26 m-test26.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test27
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test27
- robot -T -d results/${DRONE_STAGE_NAME}/m-test27 m-test27.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test28
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test28
- robot -T -d results/${DRONE_STAGE_NAME}/m-test28 m-test28.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: m-test29
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
volumes:
- name: shm
path: /dev/shm
commands:
- mkdir -pv results/${DRONE_STAGE_NAME}/m-test29
- robot -T -d results/${DRONE_STAGE_NAME}/m-test29 m-test29.robot
when:
status:
- success
- failure
depends_on:
- reveal-env
- name: copy-cache
pull: if-not-exists
image: immawanderer/archlinux-rf:latest
@ -254,6 +1067,35 @@ steps:
- failure
depends_on:
- m-test00
- m-test01
- m-test02
- m-test03
- m-test04
- m-test05
- m-test06
- m-test07
- m-test08
- m-test09
- m-test10
- m-test11
- m-test12
- m-test13
- m-test14
- m-test15
- m-test16
- m-test17
- m-test18
- m-test19
- m-test20
- m-test21
- m-test22
- m-test23
- m-test24
- m-test25
- m-test26
- m-test27
- m-test28
- m-test29
volumes:
- name: cache

31
m-test01.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test02.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test03.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test04.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test05.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test06.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test07.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test08.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test09.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test10.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test11.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test12.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test13.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test14.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test15.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test16.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test17.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test18.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test19.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test20.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test21.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test22.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test23.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test24.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test25.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test26.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test27.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test28.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

31
m-test29.robot Normal file
View File

@ -0,0 +1,31 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
${DELAY} 0.2
*** Keywords ***
Screenshot page
Capture Page Screenshot
*** Test Cases ***
open homepage (mobile)
# based on Pixel 2 XL mobile browser declared resolution
${devicemetrics}= Create Dictionary width=${411} height=${823} pixelRatio=${2.0} userAgent=Mozilla/5.0 (Linux; Mobile; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
${mobileemulation}= Create Dictionary deviceMetrics=${devicemetrics}
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
Call Method ${chrome options} add_experimental_option mobileEmulation ${mobileemulation}
${options}= Call Method ${chrome_options} to_capabilities
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Set Selenium Speed ${DELAY}
Screenshot page
Log Location
Post-conditions
Close Browser

23
test10.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test11.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test12.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test13.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test14.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test15.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test16.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test17.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test18.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test19.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test20.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test21.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test22.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test23.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test24.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test25.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test26.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test27.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test28.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser

23
test29.robot Normal file
View File

@ -0,0 +1,23 @@
*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
just a page GET (+ screenshot)
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Capture Page Screenshot
Post-conditions
Log Location
Close Browser