-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imgui UI Automation #1251
Comments
Sorry there's no way to do any of that at the moment. This would be part of the effort for #435 but I don't have the resource to go in that direction for now.
|
Hi @ocornut ,
|
I don't know what is LDTP nor how to use it. If you mean |
Thanks for the update @ocornut |
Well, the answer is that it's not possible to easily automate testing on dear imgui application at the moment. |
You won't get windows or anything from tools because of how its rendered... what you could do is something like that "ImGui remoting" project where it also renders ImGui some where else across the network? But instead of rendering on another machine render to another app on the same machine which draws the window rects using whatever API's allow your testing framework to "see" them? |
I imagine a testing framework would also want to simulate interacting with the app, opening menu xx, clicking button xx, drag stuff around, which imply some support for those things in imgui. |
Hi @paulsapps , thanks for your suggestion but as @ocornut mentioned we also need to interact and also validate the interactions with the UI. |
I can't find the issue where the guy posted the remoting stuff, but I recall it might have been bi-directional. Might still be worth a quick look if you can find it. |
@paulsapps I think the issue is that you can't automate things like "find where is button XXX", "active menu item given name", etc. They are totally missing constructs and to seriously interact with an imgui app you'd probably need a bit of a framework to make those things natural and easy to do. @shettynitin87 Can we close this issue as agreed it is not happening at the moment, or do you have something else in mind? |
sure @ocornut , will close this for now. In case if I am able to find an approach to overcome this, I will reopen and shall update on this thread accordingly. |
Hi,
|
Hi,
The text was updated successfully, but these errors were encountered: