Cant Access Errormessage [message #517810] |
Tue, 02 March 2010 04:04  |
Eclipse User |
|
|
|
HI
i´m trying to test a rcp-application, there are two types of a messageshell(which is not extending shell, it´s not even extending anything). if the info-messagebox(with an ok-button) occurs i can still access it and close it by click the button automatically, but if the errormessage occurs the swtbot seems to wait for something. even the included timeout is reacting untill i close the message manually. how can i acces such a "non"-widget?
i already learned here in the forum the function "allOf(widgetOfType())..." but this seems not to be a widget
can anyone help me here?
thnx
EDIT:
ok, now to the strange thing-> if the same errormessage occurs at another point of the program , i can close it, bot.activeShell is then:"
Shell with text {Shell {Could not delete ent...}}" .. but it is only another instance of the same messageshell
[Updated on: Tue, 02 March 2010 05:00] by Moderator
|
|
|
|
Re: Cant Access Errormessage [message #518153 is a reply to message #517810] |
Wed, 03 March 2010 04:57  |
Eclipse User |
|
|
|
ok thnx
i already thought of an thread issue, but i cant fix it with my poor knowledge. i also cant post the code here. so i´m writing tests for all other features and at the end i spent some time in fixing this errormessage-error ..
but thnx for your reply
|
|
|
Powered by
FUDForum. Page generated in 0.03439 seconds