Skip to content

FlaUIAComWrapper is a fork of UIAComWrapper to allow interop between TestStack.White and FlaUI

License

Notifications You must be signed in to change notification settings

dsheehan/FlaUIAComWrapper

 
 

Repository files navigation

A fork of UIAComWrapper

  • Allows interoperability of TestStack.White and FlaUI within the same project (AppDomain).
  • Reworks UIAComWrapper to depend on UIAutomation-Interop.
  • Allows for gradual transition, where a full-migration was not economically feasible in a single-shot
  • A prior PoC using FlaUI.Adapter.White proved to be unusable, given the complex workarounds we had already made in our project for limitations in TestStack.White. Simpler projects may not run into the same issues.
  • No effort has (intentionally) been made to cleanup code in order to minimize future fork rebase efforts, bare minimum to build and achieve interop.
  • Package name kept as UIAComWrapper to allow for drop in replacement, and trying to mitigate issues with signing, without forking/rebuilding TestStack.White
  • Example usage of interop can be seen in branch InteropPoC / Program.cs

Screenshot

Changes

v1.1.1.16

  • Use NuGet Interop.UIAutomationClient.Signed v10.18362.0 from https://github.com/FlaUI/UIAutomation-Interop so that we can use TestStack.White alongside FlaUI
  • InteropPoC an example using TestStack.White and FlaUI in the same assembly/appdomain, and converting between the two
  • instead of using an internal package reference it requires installing the NuGet package locally. This is how an independent project would use it; easier copy/paste the example.
  • Update README

v1.1.0.14 (fork)

  • added source indexing with GitLink. Makes issue debugging much easier as stepping into UIAComWrapper code in VS automatically downloads proper source code from GitHub.