Skip to content

Instantly share code, notes, and snippets.

View Tset-Noitamotua's full-sized avatar
🤖
Working from home

Tset Noitamotua Tset-Noitamotua

🤖
Working from home
  • Secret Agency
  • Germany
View GitHub Profile
@Tset-Noitamotua
Tset-Noitamotua / jybottest.bat
Created November 16, 2015 09:36 — forked from imikemo/jybottest.bat
Batch file for running Sikuli test cases using jybot
@echo off
set sikuli_jar=C:\Program Files\Sikuli X\sikuli-script.jar
set CLASSPATH=%sikuli_jar%
set JYTHONPATH=%sikuli_jar%/Lib
jybot --pythonpath=calc.sikuli ^
--outputdir=results ^
--loglevel=TRACE ^
@Tset-Noitamotua
Tset-Noitamotua / get_sel_vers.py
Created November 16, 2015 10:38 — forked from bmannix/get_sel_vers.py
get Selenium version used by Selenium2Library and log it
from robot.libraries.BuiltIn import BuiltIn
from robot.api import logger
def log_s2l_version():
"""
Gets the Selenium version used by Selenium2Library
"""
seleniumlib = BuiltIn().get_library_instance('Selenium2Library')
browser = seleniumlib._current_browser()
sel_version = locals()['webdriver'].__version__
@Tset-Noitamotua
Tset-Noitamotua / docker_behind_proxy.md
Last active November 19, 2015 07:44
HOW TO: Use Docker behind proxy (on Windows)

OPTION I

Start the Docker Quickstart Terminal and follow this steps ($ ==> terminal prompt):

$ docker-machine start default

$ eval $(docker-machine env default )

ssh into the machine named 'default' and update docker VM's /var/lib/boot2docker/profile

@Tset-Noitamotua
Tset-Noitamotua / CI-Ideas.md
Created November 18, 2015 10:41
Collecting ideas for CI process
  • tool chain
  • workflow
  • requirements DEV / QS (QA)
  • file / folder structure & naming conventions
  • documentation
@Tset-Noitamotua
Tset-Noitamotua / Vagrantfile
Last active October 9, 2018 03:44
Vagrantfile for Windows 10 with MS Edge from modern.ie[1] - stackoverflow.com discussion: http://stackoverflow.com/questions/38869921/how-to-change-default-admin-user-name-and-password-of-a-modern-ie-windows-10-vir
Vagrant.configure("2") do |config|
config.vm.box = "windows10_msedge"
config.vm.boot_timeout = 500
config.vm.network "private_network", ip: WIN10_MSEDGE_IP
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.name = "windows10_msedge"
vb.cpus = 1
vb.memory = 2048
end

Setup modern.ie vagrant boxes

Since modern.ie released vagrant boxes, it' no longer necessary to manually import the ova file to virtualbox, as mentioned here.

However, the guys at modern.ie didn't configured the box to work with WinRM. This how-to addresses that, presenting steps to proper repackage these boxes, adding WinRM support. Additionally configures chocolatey package manager and puppet provisioner.

Pre-requisites

@Tset-Noitamotua
Tset-Noitamotua / gist:cb0f20002c73f2fc1556080ceaa8743d
Last active September 18, 2016 13:02
OS X 10.11 El Capitan – bootfähigen USB-Stick erstellen
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Name-des-USB-Sticks/ --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app/ --nointeraction
@Tset-Noitamotua
Tset-Noitamotua / triple_run_tests.bat
Last active April 9, 2021 18:41
Batch script to rerun failed Robot Framework tests on a Windows machine for a (almost) fail save test execution ;-)
@ECHO OFF
REM Activate required Python v-environment for test execution
REM Uncomment next line and adjust NAME if you use "virtualenv"
REM and "virtualenvwrapper-win"
REM call workon NAME_OF_YOUR_VIRTUALENV
REM Clean up Results folder before you start!
REM /Q options ensures that no confirmation by user is required
REM Uncomment next line if you use a "Results" folder
@Tset-Noitamotua
Tset-Noitamotua / rerun_suite_setup.robot
Created September 27, 2016 16:12
Robot Framework - Rerunning Suite Setup
# Actually in your __init__ file you can wrap all potential failures into Wait Until Keyword Succeeds or even all suite it and do sth like
# Example 1
***Settings***
Suite Setup Setup
***Keywords***
Suite Setup
Keyword 1
Keyword 2