Imagem oficial do TIR (Test interface Robot)
2.5K
Permite a execução do TIR via Docker com ou sem interface.
Repositório e documentação TIR: https://github.com/totvs/tir
{
"Url": "http://localhost:8080/",
"Browser": "Firefox",
"Environment": "ENVIRONMENT",
"Language": "pt-br",
"User": "admin",
"Password": "1234",
"DebugLog": false,
"TimeOut": 90,
"Headless": false
}
# Import from our package the class you're going to use
from tir import Webapp
test_helper = Webapp()
test_helper.Setup('SIGAMDI','19/04/2023','T1','D MG 01','04')
test_helper.Program('MATA010')
test_helper.SetButton('Cancelar')
test_helper.AssertTrue()
test_helper.TearDown()
docker run --rm -ti \
-v ${PWD}:/local \
-v /etc/passwd:/etc/passwd \
-v /etc/groups:/etc/groups \
-v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 \
-e HOME=/tmp \
-e DISPLAY=:0 \
-u $(id -u):$(id -g) \
tir:latest python3 /local/script.py
Content type
Image
Digest
sha256:884b7639a…
Size
1002 MB
Last updated
2 days ago
docker pull totvsengpro/tir