Skip to content

Commit 3bed7ea

Browse files
NepitwinAndreas Sekulski
andauthored
Update FlaUI usage version 5.0.0 (#229)
* Update FlaUI usage version 5.0.0 * Add default virtuak .evn environment usage --------- Co-authored-by: Andreas Sekulski <andreas.sekulski@gdata.de>
1 parent 7980ac9 commit 3bed7ea

File tree

10 files changed

+46
-18
lines changed

10 files changed

+46
-18
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
77

88
## [Unreleased][]
99

10+
## [Release][4.0.0] [4.0.0][3.7.0-4.0.0] - 2025-04-26
11+
12+
### Updated
13+
14+
- FlaUI upgrade to version 5.0.0 (https://github.com/FlaUI/FlaUI/releases/tag/v5.0.0)
15+
1016
## [Release][3.7.0] [3.7.0][3.6.1-3.7.0] - 2025-02-22
1117

1218
### Added
@@ -717,7 +723,11 @@ General bugfixing from keywords and improvements from artifact building and test
717723
718724
[github.io]: https://gdatasoftwareag.github.io/robotframework-flaui
719725
720-
[unreleased]: https://github.com/GDATASoftwareAG/robotframework-flaui/compare/3.7.0...main
726+
[unreleased]: https://github.com/GDATASoftwareAG/robotframework-flaui/compare/4.0.0...main
727+
728+
[4.0.0]: https://github.com/GDATASoftwareAG/robotframework-flaui/releases/tag/4.0.0
729+
730+
[3.7.0-4.0.0]: https://github.com/GDATASoftwareAG/robotframework-flaui/compare/3.7.0...4.0.0
721731
722732
[3.7.0]: https://github.com/GDATASoftwareAG/robotframework-flaui/releases/tag/3.7.0
723733

appveyor.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,8 @@ install:
7272
set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
7373
7474
python --version
75-
76-
python -m pip install --upgrade pip
7775
78-
.\keen.bat dependency
76+
.\keen.bat venv
7977
8078
build: off
8179
test_script:

keen.bat

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,9 @@ GOTO:MAIN
99
rmdir /s /q robotframework_flaui.egg-info
1010
EXIT /B 0
1111

12-
:dependency
13-
call python -m pip install --upgrade pip setuptools wheel
14-
call python -m pip install -r requirements-dev.txt
15-
EXIT /B %ERRORLEVEL%
16-
1712
:build
1813
call:cleanup
19-
call:dependency
14+
call:venv
2015
call python -m build
2116
call python libdoc.py
2217
EXIT /B %ERRORLEVEL%
@@ -84,5 +79,26 @@ EXIT /B %ERRORLEVEL%
8479
if %result%==0 set /A result = %ERRORLEVEL%
8580
EXIT /B %result%
8681

82+
:venv
83+
set /A result = 0
84+
IF NOT EXIST .venv (
85+
call python -m venv .venv
86+
if %result%==0 set /A result = %ERRORLEVEL%
87+
call .venv\Scripts\activate.bat
88+
if %result%==0 set /A result = %ERRORLEVEL%
89+
call python -m pip install --upgrade pip setuptools wheel
90+
if %result%==0 set /A result = %ERRORLEVEL%
91+
call python -m pip install -r requirements-dev.txt
92+
if %result%==0 set /A result = %ERRORLEVEL%
93+
) ELSE (
94+
call .venv\Scripts\activate.bat
95+
if %result%==0 set /A result = %ERRORLEVEL%
96+
call python -m pip install --upgrade pip setuptools wheel
97+
if %result%==0 set /A result = %ERRORLEVEL%
98+
call python -m pip install -r requirements-dev.txt
99+
if %result%==0 set /A result = %ERRORLEVEL%
100+
)
101+
EXIT /B %result%
102+
87103
:MAIN
88104
IF NOT "%~1" == "" call:%1
12.5 KB
Binary file not shown.
3 KB
Binary file not shown.
3.5 KB
Binary file not shown.
30.3 KB
Binary file not shown.

src/FlaUILibrary/bin/Version.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Library Version Table
22

3-
| Library | Version | Date | .Library | Dependency | License | Revision |
4-
|---------|---------|------------|--------------------| -------------------------------|---------|--------------------------------------------|
5-
| Core | 4.0 | 25.09.2022 | .Net Framework 4.8 | Interop.UIAutomationClient.dll | MIT | 5b0be578806bf411a38dc1cb05c8862a01963710 |
6-
| UIA3 | 4.0 | 25.09.2022 | .Net Framework 4.8 | | MIT | 5b0be578806bf411a38dc1cb05c8862a01963710 |
7-
| UIA2 | 4.0 | 25.09.2022 | .Net Framework 4.8 | | MIT | 5b0be578806bf411a38dc1cb05c8862a01963710 |
3+
| Library | Version | Library | Dependency | License |
4+
|---------|---------|--------------------|----------------------------------------------------|---------|
5+
| Core | 5.0 | .Net Framework 4.8 | System.CodeDom.dll | MIT |
6+
| UIA3 | 5.0 | .Net Framework 4.8 | System.CodeDom.dll | MIT |
7+
| UIA2 | 5.0 | .Net Framework 4.8 | Interop.UIAutomationClient.dll, System.CodeDom.dll | MIT |
88

99
## Changelog
1010

1111
| Date | To Revision | Description |
1212
|------------|------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
13-
| 25.09.2022 | 3a33e52f6e4793254633c2927a94c8b64463d170 | Migration to FlaUI 4.0 |
13+
| 26.04.2025 | c5e7eb7af081e68534cb6b6890a38aa791ce4168 | Upgrade to FlaUI 5.0 |
14+
| 25.09.2022 | 3a33e52f6e4793254633c2927a94c8b64463d170 | Upgrade to FlaUI 4.0 |
1415
| 22.01.2021 | 5b0be578806bf411a38dc1cb05c8862a01963710 | UIA2 from FlaUI include from release 3.2.0 |
1516
| 23.06.2020 | 5b0be578806bf411a38dc1cb05c8862a01963710 | Core, UIA3 will be updated to latest stable release version 3.2.0. |
1617
| 25.05.2020 | 48f94a076e7db1ee822958a779a38cad09a7c70f | Core, UIA3 will be updated to latest stable release version 3.1.0. |
1718
| 04.03.2020 | 038ae4cc74cc3a3369150a6dc442017bb2a37f69 | Core, UIA3 will be updated to latest stable release version 3.0.0. Unused UIA2 dll is removed. |
1819
| 26.07.2019 | f81909229d0fdce86c8148864a1a40aa464c8579 | Core, UIA2 and UIA3 will be updated to pull request from 5 Jun 2018 because of PropertyNotSupportedException issue. |
19-

src/FlaUILibrary/pythonnetwrapper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@
88
FLAUI_UIA2_DLL_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'bin', 'FlaUI.UIA2.dll')
99
FLAUI_UIA3_DLL_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'bin', 'FlaUI.UIA3.dll')
1010
INTEROP_DLL_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'bin', 'Interop.UIAutomationClient.dll')
11+
SYSTEM_CODE_DOME_DLL_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'bin', 'System.CodeDom.dll')
12+
1113

1214
clr.AddReference(FLAUI_CORE_DLL_PATH)
1315
clr.AddReference(FLAUI_UIA2_DLL_PATH)
1416
clr.AddReference(FLAUI_UIA3_DLL_PATH)
1517
clr.AddReference(INTEROP_DLL_PATH)
18+
clr.AddReference(SYSTEM_CODE_DOME_DLL_PATH)
1619

1720
clr.AddReference("System")
1821
clr.AddReference("FlaUI.Core")
1922
clr.AddReference("FlaUI.UIA2")
2023
clr.AddReference("FlaUI.UIA3")
2124
clr.AddReference("Interop.UIAutomationClient")
25+
clr.AddReference("System.CodeDom")

src/FlaUILibrary/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "3.7.0"
1+
VERSION = "4.0.0"

0 commit comments

Comments
 (0)