diff --git a/tests/GuiTests/RcpttProjects/RedGuiTests/SourceView/ResolvinPathForSettings/ResolvingPathForSettings.test b/tests/GuiTests/RcpttProjects/RedGuiTests/SourceView/ResolvinPathForSettings/ResolvingPathForSettings.test index 26b45a8eb..e5889455a 100644 --- a/tests/GuiTests/RcpttProjects/RedGuiTests/SourceView/ResolvinPathForSettings/ResolvingPathForSettings.test +++ b/tests/GuiTests/RcpttProjects/RedGuiTests/SourceView/ResolvinPathForSettings/ResolvingPathForSettings.test @@ -6,8 +6,8 @@ Element-Type: testcase Element-Version: 3.0 External-Reference: Id: _RI1AQGuMEeaVB7Q9BJdfQg -Runtime-Version: 2.2.0.201706152316 -Save-Time: 7/3/17 11:31 AM +Runtime-Version: 2.5.0.202001211718 +Save-Time: 6/29/20 2:12 PM Testcase-Type: ecl ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac @@ -18,15 +18,33 @@ get-menu "Project/Clean..." | click get-window Clean | get-button $OK_Clean_button | click get-view Problems | click -with [get-view Problems | get-tree] { +// diffrent order on Linux and Windows +try -command{ + with [get-view Problems | get-tree] { get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 0 | get-property caption - | equals [format "Unknown '.%s..%sresource%sthroughput_check.py' library. Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $sys_sep $sys_sep $sys_sep ] + | equals [format "Unknown '.%s..%sresource%sthroughput_check.py' library. " + + "Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $sys_sep $sys_sep $sys_sep ] | verify-true + get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 1 | get-property caption | equals [format "Unknown '%s%sCA_project%stestsuite%sMM%slibraries%sfile.py' library. " + "Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $RED_workspace_path $sys_sep $sys_sep $sys_sep $sys_sep $sys_sep] - | verify-true -} + | verify-true + } +}-catch{ + with [get-view Problems | get-tree] { + get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 0 + | get-property caption + | equals [format "Unknown '%s%sCA_project%stestsuite%sMM%slibraries%sfile.py' library. " + + "Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $RED_workspace_path $sys_sep $sys_sep $sys_sep $sys_sep $sys_sep] + | verify-true + + get-item "Errors \\(2 items\\)/Unknown .* or add library to red.xml for proper validation" -index 1 + | get-property caption + | equals [format "Unknown '.%s..%sresource%sthroughput_check.py' library. Try to use Quick Fix (Ctrl+1) or add library to red.xml for proper validation" $sys_sep $sys_sep $sys_sep ] + | verify-true + } +} ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--