blob: 6eb87d804595dffa00f434d98b2a16623e11febe [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _qy4DwH_5EeK9FdRInrmHdQ,_DyPzwH_sEeKzh4ksbY4F-Q,_i0cEgIrkEeKFictDEDHejA
Element-Name: QS-2258_Can't assert text in Cheat Sheets view
Element-Type: testcase
Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-2258
Id: _hJZuEISZEeK0gZAoHFUCEg
Save-Time: 7/15/13 5:10 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Q7 Explorer" | get-tree | select [get-item Q7Project | get-item CheatSheet -index 1] | double-click
get-editor CheatSheet | get-button Record | click
get-window "Q7 Control Panel.*" | get-button "Switch to Assertion Mode"
| click
wait 50
//exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args "-r \"C:\\Users\\bamboo\\Documents\\SikuliTests\\AssertCheatSheet.sikuli\" -s" -ignoreExitCode
//exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/AssertCheatSheet.sikuli}\" -s"] -ignoreExitCode
exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/AssertCheatSheet.sikuli}\""]"-s"-ignoreExitCode
with [get-window "Q7 Control Panel.*"] {
with [get-window Assertion] {
get-tree | select "Link \\(Basic Properties\\)" | get-item "Link \\(Basic Properties\\)/caption" | check
get-button Add | click
}
get-button Record | click
}
get-window "Q7 Control Panel.*" | get-editbox | get-property text
| equals "get-editor \"CheatSheet1.xml\" | get-section Content | get-button Preview | click\n"
+ "get-view \"Cheat Sheets\" | get-section Introduction | get-link \"Click to Begin\" | get-property caption \n"
+ " | equals \"Click to Begin\" | verify-true" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--