blob: 567f8297073619bf8867d11622aac0fc4e7e251b [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _9EiiQIIzEeKQ1rzvYVAqIg,_yC1IUYIzEeKQ1rzvYVAqIg,_UCW2sLYaEeKdvZsQc40i9Q
Element-Name: EclipseForm_LinksTest
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _9x66gLYZEeKdvZsQc40i9Q
Save-Time: 7/15/13 5:41 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Q7 Explorer" | get-tree | select "Q7ProjectMockUp/Test" | double-click
get-editor Test | get-button Record | click
get-aut Q7MockUp | eval{
with [get-view "Q7 Quality Mockups" | get-tree] {
select "eclipse/form/FormWithLinks Test"
}
}
//exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/LinksTest.sikuli}\" -s"] -ignoreExitCode
exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/LinksTest.sikuli}\""]"-s"-ignoreExitCode
get-window "Q7 Control Panel.*" | get-button Stop | click
get-window "Q7 Control Panel.*" | get-editbox | get-property text
| equals "with [get-view \"Q7 Quality Mockups\"] {\n"
+ " get-tree | select \"eclipse/form/FormWithLinks Test\"\n"
+ " with [get-group \"FormWithLinks Test\" | get-section \"Section With Links\"] {\n"
+ " get-link \"This is a hyperlink to Eclipse.org\" | click\n"
+ " get-link -after [get-link \"This is a hyperlink to Eclipse.org\"] | click\n"
+ " get-link \"This is a hyperlink with ?\" | click\n"
+ " get-link \"This_is_a_hyperlink_with ([{<@$%^,!*>}])\" | click\n"
+ " get-link \"This is a hyperlink to Eclipse.org\" -after [get-link \"This_is_a_hyperlink_with ([{<@$%^,!*>}])\"] \n"
+ " | click\n"
+ " }\n"
+ "}" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--