FluxTester
Fluxtester repo contains the Flux UI test automation scripts
Requires reference to 'Flit.dll' which can be generated by building metamation/TestFramework project
Modules
-
Test Runner: Custom test execution engine with support for:
-
Test fixtures and individual tests
-
Options for regenerating expected outputs (
-regenerate) -
Test result comparison with Windiff (
-diff) -
Stop on failure mode (
-stop) -
Failed test re-runs (
-failed) -
Fixture listing (
-fixtures)
Dependencies
-
Flit.dll - Core testing framework library (external dependency from metamation/TestFramework project)
-
FlaUI.UIA3 (v3.2.0) - UI Automation framework for Windows accessibility
-
Custom utilities in
Utils.csfor test data and operations
Get started
To run a Flux automation test script in FluxTester
-
Need to clone FluxTester repository.
-
Need to clone TestFrameWork repository.
-
Build the TestFramework.sln (in visual studio)-→ We can Flit.dll in bin folder.
-
We have to reference the Flit.dll in FluxTester dependencies.
-
Build the FluxTester.sln (in visual studio) -→ Now we can run any test.
Use FlaUInspect tool to see the automation elements from Flux UI
-
Need to clone FlaUInspect repository not FlaUI repository (these 2 are different repos).
-
Build FlaUInspect.sln -→ We get FlaUInspect.ext in bin folder.
-
Run that exe -→ Now we can find the automation elements tree in the opened applicaition.