Code Monkey home page Code Monkey logo

robotframework-whitelibrary's Introduction

WhiteLibrary provides the means to test Windows GUI technologies with Robot Framework. WhiteLibrary wraps White test automation framework [1].

Technologies

  • Win32
  • WinForms
  • WPF (Windows Presentation Foundation)
  • SWT (Java) platforms

Installation

Stable version

pip install --upgrade robotframework-whitelibrary

Development version

pip install --upgrade --pre robotframework-whitelibrary

Documentation

Keyword documentation

Development Environment

Prerequisities

  • Install NuGet Command Line Interface (CLI) to install required DLL packages (TestStack.White and Castle.Core).
  • Install Python, if not already installed. Versions 2.7, 3.5 and 3.6 are supported at the moment.
  • To install Robot Framework and Python for .NET, run
pip install robotframework pythonnet
  • To make modifications to and build the test application (UIAutomationTest.exe), install Visual Studio. The test application is a WPF application developed with C#.
  • If you want to edit Python with Visual Studio, Python Tools are required. They're part of Visual Studio 2017 installer, see details about what to select during installation: https://github.com/Microsoft/PTVS

WhiteLibrary installation

  • To install WhiteLibrary from source, in the root folder of the project run
local_install.cmd
  • Open UIAutomationTest\UIAutomationTest.sln and build the solution in Visual Studio. This will create the SUT executable, UIAutomationTest\bin\Debug\UIAutomationTest.exe.

Running tests with Robot Framework

  • To execute the test suite against SUT, in the root folder of the project run
robot --outputdir output --exclude no_ci --loglevel DEBUG:INFO atests
  • To execute a single test case called "Example Test Case", run
robot --outputdir output --exclude no_ci --loglevel DEBUG:INFO -t "Example Test Case" atests
  • The test suite tagged with no_ci will run tests against the old (Win32) version of Windows calculator, and is typically excluded from test runs.

References

[1] https://github.com/TestStack/White

robotframework-whitelibrary's People

Contributors

isnogood avatar eeter avatar juhaalhonen avatar kompakti avatar eeromakiesko avatar jarmake avatar mmokko avatar rasjani avatar tkortepo avatar

Watchers

Madhu GR avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.