Recently, I needed to show a modal dialog window in an automated testcase: The system is not fully automated yet and the user has to perform a few Actions on another system before the test can proceed. onion.
Here is a part like this:pause-test-with-message-box-t12193.html but I need a window that is always in the foreground. I had some trouble creating a real modal window but with some Inspiration from here https://www.codeproject.com/Articles/18 ... MessageBox I finally did it.
My code is a quick hack; it opens a window, presents a text and automatically closes the window after a certain time elapses or if the 'OK' button is clicked.
Maybe this is helpful to you.
Best practices, code snippets for common functionality, examples, and guidelines.
1 post • Page 1 of 1