Cannot be used with multiprocess programs
Cannot be used with multiprocess programs. Such as WPS Office which from China. Useing window_title ,the widget could not be detected. No green point.
Thanks @ghost-cai , I'm going to add more information about this issue to be tracked by our team.
System Under Test WPS Office: https://www.wps.com/
SUT Connection Issues due to multiprocess (Maybe be related with #68 )
- Using COMMAND_LINE with the default launcher
"C:\Users\testar\AppData\Local\Kingsoft\WPS Office\ksolaunch.exe"does not work because the SUT later executes another process namedwpx.exe. As mentioned, this is due to multiprocess limitations.
- Using COMMAND_LINE with the executable
"C:\Users\testar\AppData\Local\Kingsoft\WPS Office\12.2.0.13215\office6\wps.exe"launches the SUT and allows TESTAR to connect.
Widget recognition issue due to Qt system
- The default
desktop_genericprotocol with the adequate COMMAND_LINE allows TESTAR to recognize the widgets but are recognized asBlockedby our UIAutomation. For this reason, these are not displayed as clickable (green dot).
- This seems to be related to the fact that WPS Office is a Qt application #51 .
- We need to work on #299, which contains, in addition to the visual feature, a fix for Qt applications.
Working on a solution: master_desktop_Qt
Thanks for the report,
With the update #388
- TESTAR has been updated to derive actions in Qt applications
https://github.com/TESTARtool/TESTAR_dev/wiki/TESTAR-for-Qt-applications
- The
SUTProcessessetting has been refactored to allow the connection with multi-processes SUTs
The TESTAR user can indicate with regular expressions which processes conform to the SUT ( .*wps.exe.* )
https://github.com/TESTARtool/TESTAR_dev/wiki/3-TESTAR-configuration-and-settings#connect-with-a-multi-processes-sut-advanced-dialog