MessageBox text #546
Replies: 3 comments 1 reply
-
Have you tried GetModal()? if your MessageBox is not modal, you will have to use the Inspect Object tool from the Windows kit to find the AutomationId, then you will be able to get the window. Also, knowing which parent window that launches the MsgBox will help A LOT! :) Good luck! |
Beta Was this translation helpful? Give feedback.
-
Let me show an example... Here I can see the main OK button but not the text above. It's the text I want to read to find out what the error is. |
Beta Was this translation helpful? Give feedback.
-
Since there are no better answers... If a test case fails, I make a screenshot and post it as an artifact. I use xUnit.Context:
|
Beta Was this translation helpful? Give feedback.
-
Is there any way I can read the text in a popup MessageBox? I can see, and read the Title and the text in the buttons but strangely cannot seem to access the text (or icon) of the message using FlaUInspect V1.3.0.
Beta Was this translation helpful? Give feedback.
All reactions