Last active
February 19, 2019 05:57
-
-
Save dino-su/260ce4157030fa4873ced75ed84b3000 to your computer and use it in GitHub Desktop.
Jenkins pipeline example of WinAppDriver.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Credit: https://github.com/Microsoft/WinAppDriver/issues/588 | |
node { | |
powershell ''' | |
# Start WinAppDrive | |
Start-Process -FilePath cmd -ArgumentList '/c WinAppDriver.exe 1>WinAppDriver.log 2>WinAppDriver_ERR.log' -WindowStyle Hidden | |
# Run UI Test | |
vstest.console.exe 'bin\\Debug\\CalculatorTest.dll' | |
''' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment