Forum Discussion
Abramova
Staff
14 years agoHi Mohammed,
Please clarify the problem. Do you worry that the "SLD Description saved correctly" and "SLD Reference saved correctly" messages do not appear in the test log or that some errors occur during the test run?
The messages may not be posted to the test log if the verification does not pass. To check this, I recommend that you add the else statement to the test. For example:
if (tree["WPFObject"]("TreeViewItem", "", i)["WPFObject"]("TreeViewItem", "", x)["WPFObject"]("TreeViewItem", "", z)["WPFObject"]("Grid", "", 1)["WPFObject"]("GridViewRowPresenter", "", 1)["WPFObject"]("ContentPresenter", "", 6)["WPFObject"]("TextBlock", SLDreference, 1)["Text"] == SLDreference)
Log["Message"]("SLD Reference saved correctly");
else
Log["Warning"]("SLD Reference saved incorrectly");
If errors occur during the test run, please specify the text of the error messages.