blob: 48cfd13fa48f48923da741640f1c50720306fd47 [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _g1CYYY-hEeK_GsTYGlxpVQ,_ilbtEI-jEeK_GsTYGlxpVQ,_Dgi30JCXEeKN_d0eVNGMgg
Element-Name: QS-436_Pressing on Enter keyboard button is not recorded in scenario
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _e1r5cJCWEeKN_d0eVNGMgg
Save-Time: 7/15/13 6:00 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Steps for reproducing:
1. In the test the following actions is recorded:
Add object in Ecore Diagram
Open Properties view for this object
Open GetModel doc tab
Insert text "Test", press "Enter" and insert "Test"
the following script was recorded:
with [get-editbox] { set-text TestTest key-type "M1+s" }
Test is attached.
Test was recorded on Mac OS.
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Q7 Explorer" | get-tree | select "Vozone/SO2" | double-click
get-editor SO2 | get-button Record | click
//exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/TypeEnter.sikuli}\" -s"] -ignoreExitCode
exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/TypeEnter.sikuli}\""]"-s"-ignoreExitCode
get-window "Q7 Control Panel.*" | get-button Stop | click
get-window "Q7 Control Panel.*" | get-editbox | get-property text
| contains " get-property-tab Description | click\n"
+ " with [get-editbox -after [get-label \"Description:\"]] {\n"
+ " set-text Text\n"
+ " key-type Enter\n"
+ " set-text \"Text\\n"
+ "\"\n"
+ " key-type Enter\n"
+ " set-text \"Text\\n"
+ "\"\n"
+ " + \"Text\"\n"
+ " }\n"
+ "}" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--