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
@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 ^ |
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__ |
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 |
KEY: VTNMT-2FMYP-QCY43-QR9VK-WTVCK (need for recovery only)
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.
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 |
@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 |
# 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 |