|"Validation" and "Error Markers" behave strange when testing [message #1180996]
||Mon, 11 November 2013 04:46
| Arne Deutsch
Registered: July 2009
we use SWTBot successfully so far to test our application at system level. It is an extension to the eclipse IDE (eclipse 4.2.2 serves as base, we provide some additional plugins and some brandung). But now I experience some strange behaviour (on windows and on linux platform). It is important to note that all is working well when I start the application with a "normal" run-configuration. The following behaviour occures ONLY inside the testing context (when I start the application trough "Run As->SWTBot Test").
Problem description: Inside the tests the "Validate" functionality for XML files does not work correctly. When I open an XML file inside a test with the "XML Editor", display the "Source" tab and open the context menu, then there is an entry "Validate". The entry is active and I can click it. But there is no result displayed. Normally a dialog opens with the message "The validation completed with no Errors or warnings.".
The second thing that is not working correctly are the error markers in the editor. When I open the XML editor and insert a wrong tag (not complient to the XSD) there is no error marker set to indicate the wrong name. This also works when I start the application the usual way.
Anybody an idea what might cause this strange behaviour? I can't find an open bug ticket with something like this but it clearly seems to be related to SWTBot because all is working when I start the application in "non-testing-mode".
Thank you for feedback!
Powered by FUDForum
. Page generated in 0.02527 seconds