MessageBox can not be validated at Recording Phase [message #1720229] |
Fri, 15 January 2016 12:48 |
ilke Muhtar Messages: 47 Registered: September 2015 |
Member |
|
|
During our recording we have a message box made of Ok and Cancel and a question. We can not validate that this messagebox is shown at the screen.
The recorder does not recognize that a swt MessageBox dialog window is shown. We first corrected the shell of the MessageBox, instead of using a new created shell. But it didnt help either. We recorded the side effects of pressing the OK button. But we couldnt record the MessageBox dialog elements for validation.
The error shown is :
Faied Because of unexpected native dialog is shown:
org.eclipse.swt.widgets.MessageBox message: Unrecorded message dialog:
Remove the existing file Systems? :Question
at get-editor (line 10)
How can we solve this issue ?
If I record with out asserting the message box. I get a recorded test suite line as :
set-dialog-result MessageBox 32
Kind Regards
[Updated on: Fri, 15 January 2016 12:52] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02950 seconds