GithubHelp home page GithubHelp logo

smartfire / white Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teststack/white

0.0 3.0 0.0 18.77 MB

TestStack.White

License: Other

PowerShell 0.05% C# 97.58% Java 1.79% ASP 0.29% HTML 0.29%

white's Introduction

TestStack.White

White is a framework for automating rich client applications based on Win32, WinForms, WPF, Silverlight and SWT (Java) platforms. It is .NET based and does not require the use of any proprietary scripting languages. Tests/automation programs using White can be written with whatever .NET language, IDE and tools you are already using. White provides a consistent object-oriented API, hiding the complexity of Microsoft's UIAutomation library (on which White is based) and windows messages.

Join the chat at https://gitter.im/TestStack/White

Introduction

Project white has been inactive for some time, but still has many users and is a great UI automation framework.

TestStack has brought this project into it's offering to try and breathe some life into Project White.

Build Status

Master Branch

Build status Test status Documentation Status

UIAComWrapper Branch

Build status Test status

Contributing

White needs contributors to keep improving. There is plenty to do:

  • Write documentation. Currently on docs.teststack.net but will likley be migrated to the GitHub wiki, the wiki is publically editable so jump in, migrate a page or improve an existing one.
  • Look into any of the open issues, submit a pull request or suggest a fix which could help the issue be closed
  • Pick up a failing test on the https://github.com/TestStack/White/tree/UIAComWrapper branch.
  • Add a new test

Getting Started

Install TestStack.White from NuGet

PM> Install-Package TestStack.White

Now download one or more of these tools. Each of these has their own strengths and weaknesses and generally using more than one to view the automation properties will be required.

  • Inspect - This is part of the Windows SDK and is a good tool in general for looking at automation properties.
  • UI Automation Verify - Also part of the Windows SDK another good general tool for looking at automation properties. There's a fork of original UIAVerify that allows usage of custom patterns and custom properties. For an example how to add your own custom pattern or property to your application, look at this project.
  • Snoop - Only works with WPF applications and is really good at it. Offers much more functionality than just viewing the automation properties.
  • Spy++ - This is included in visual studio under the tools menu option. This is good for working with Winforms, Win32 and VB6 applications because it allows you to view the applications window messages and automation properties.

See the sample apps here for examples of using White in both WinForms and WPF.

Documentation

Documentation Status

Change Log

http://docs.teststack.net/White/ChangeLog.html

Documentation

http://teststackwhite.readthedocs.org/en/latest

Discussion Group

https://groups.google.com/forum/#!forum/teststack_white

Sample Applications

https://github.com/TestStack/White/tree/master/src/Samples

Whites UI Tests

https://github.com/TestStack/White/tree/master/src/TestStack.White.UITests

Contributions to White's documentation is welcome

Contributing to White

Pull Requests for White are welcome, please include either Unit or UI Tests covering your changes if possible.

Setting up Git

http://jake.ginnivan.net/setting-up-git

Contributing to a TestStack Project

http://teststack.azurewebsites.net/Contributing.html

Reporting Issues

If possible, please add a failing test to TestStack.White.UITests when you report an issue, this will allow me to fix it, and ensure there is no regression later.

Also include the following information:

  • Operating System
  • Target Framework (WPF, Winforms etc)
  • Optionally but preferred, a failing test or a repro solution.

Credits

Thanks to Thoughtworks and specifically Vivek Singh for starting this project. We have got permission from Vivek to continue this project.

TestStack.White will supersede the following repositories:
http://white.codeplex.com/
https://github.com/petmongrels/white
https://code.google.com/p/white-project/

white's People

Contributors

roemer avatar jakeginnivan avatar ilya-murzinov avatar ivan-danilov avatar dpisanu avatar jalla347 avatar matt-jenner avatar mehdik avatar navaneeth avatar ritro avatar adlanelm avatar daveweath avatar jason-roberts avatar seriousm avatar cbigsby avatar eric-winkler avatar glombard avatar heskandari avatar johanlarsson avatar jozefizso avatar rlbisbe avatar sghill avatar gitter-badger avatar toddwprice avatar lostmsu avatar

Watchers

James Cloos avatar DY avatar  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.