-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add a Remote Screenshot #105
Conversation
…l screenshot, except that it outputs the image as Base64 String
I like the functionality, but am wondering about the "Remote" naming, which seems to be specific to your use case. However one could also use it in a GTest running locally, where the base64 string is just compared with an expected value. Then, nothing "remote" would be involved. Could we rename it to something that more describes what it does, rather than how it could be used? Though I'm also not sure what a good name would be.... Maybe something like What do you think @53845714nF ? |
Sorry that I am writing so late, I am a little ill. That sounds fine to me, I can fully understand that. |
Cool, then what about we go with |
* MacOS 14 only supports Arm64 but Qt5 not, so I pin it to macOS 13 on Qt5. * Bump Checkout Action from 3 to 4, because it uses an old Node Version. * Adding an extra test case for macOS, because on macOS 14 with Qt6 the -platform minimal is not supported. --------- Co-authored-by: Sebastian Feustel <[email protected]> Co-authored-by: Falko Axmann <[email protected]>
…xm#103) * Add new parameters (proportion and offset) to the mouse Click. It will be possible to click e.g. sliderarea at certain positions. * Create a new GTest for Mouse Click Position * Update examples/GTestMouseClickPosition/main.cpp --------- Co-authored-by: Sebastian Feustel <[email protected]> Co-authored-by: Falko Axmann <[email protected]>
Co-authored-by: Sebastian Feustel <[email protected]>
9f7047c
to
b4c63aa
Compare
b4c63aa
to
e500bd9
Compare
Thank you very much, I'm still not completely healthy, but I've got to work on it now. I think there are some viruses going around in Germany, so take care. I pulled the branch to the current master branch, so it looks like there are 5 new commits, but there are actually only two new ones. The last one is the one where I renamed the function. It would be good if the PR became one commit, but I think GitHub does that automatically. |
Add a Remote Screenshot Function this creates a screenshot like the normal screenshot, except that it outputs the image as Base64 String. It could be useful for example on embedded devices, where you do not want to save images on the device.
For an Example, use in Python:
You get:
Which reflects in to this image:

There you can then see whether the component looks as it is supposed to.