At present, our company is creating a tool for automating GUI automation for compact framework applications. At first we looked for a lot of tools, but none of them were right for us.
Using this tool, you can record test files and group them together with test sets. For each test suite, an application is created that launches the application under the test and simulates user input.
In general, the tool works just fine, but since we use window handles to enter user input for modeling, you cannot do so many things. For example, we cannot get the name of the control (we just get the title).
Another problem with using window handles is checking for changes. At the moment, we are simulating a click on a control and depending on the result, we know that the application has passed to the next step.
Is there any other (simpler) way to perform such actions (for example, a message queue or something else)?
GUI , , . TestComplete, , Borland VCL WinForms. Windows Presentation Foundation, build.
! - (, Win32) Windows, .
. , , HWND , . , , . , " " , , .
, , , , API Win32.
, , , script. , , , , script. script.
( , , ..), script . , , , , , . , ( , ), .
(EDIT: QA -, : , , , script)
!
NUnitForms. , ..
, NUnitForms
NUnitForms DragDrop - MTA STA
exe GUI- NUnitForms
- : Managed Spy. .NET, ManagedSpyLib.
ManagedSpyLib allows programmatic access to the Windows Forms controls of another process. To do this, it uses Window Hooks and memory mapping files.
Thanks to everyone who helped me get to this solution!
Managed Spy does not provide a solution for compact frame applications.
Jamo Solutions (www.jamosolutions.com) meets the requirements for testing automation on mobile devices, including compact .net framework applications.
Source: https://habr.com/ru/post/1696468/More articles:TCL Development: Debugging Environment - DebuggingSoftware Life Cycle Resources - sdlcУправление проектом и управление развитием - project-managementI can share SOURCE SQL Server Reporting Services data ... how about a dataset? - reporting-servicesIs it nice to represent the inheritance hierarchy in a namespace structure? - inheritanceBatch Code Indices and Decoders - javascriptWhat have I done wrong here? [Javascript Regex] - javascriptМожете ли вы установить или где локальный корень документа? - htmlОтключение многострочных полей в MS Access - ms-accessHow to map a Linux device path to a Windows disk name? - c ++All Articles