blob: afdfb0ad144017f16c8953f931eb794bdc4eb9f1 [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _g1CYYY-hEeK_GsTYGlxpVQ,_ilbtEI-jEeK_GsTYGlxpVQ,_R7DoUJCREeKN_d0eVNGMgg
Element-Name: QS-512_Q7 scenario fails to put values in different cells of a table - it puts all in one cell without switching between them
Element-Type: testcase
Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-512
Id: _dXPNMJCQEeKN_d0eVNGMgg
Save-Time: 7/15/13 6:01 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
When I click different empty cells in a table and put some values in it - Q7 records it as
with [get-table | select ""] { get-editbox | set-text q get-editbox | set-text w get-editbox | set-text e get-editbox | set-text r }
And when I replay scenario - it puts all values in the first empty cell without any switching.
Need to set some cell coordinates or enything else.
------=_.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 [get-item Vozone | get-item DecisionTable -index 1] | double-click
get-editor DecisionTable | get-button Record | click
//exec-process -command "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"" -args [substitute-variables "-r \"${resource_loc:sikuli/ClickTableCells.sikuli}\" -s"] -ignoreExitCode
exec-process "\"C:\\Program Files\\Sikuli X\\Sikuli-IDE.exe\"""-r" [substitute-variables "\"${resource_loc:sikuli/ClickTableCells.sikuli}\""]"-s"-ignoreExitCode
get-window "Q7 Control Panel.*" | get-button Stop | click
get-window "Q7 Control Panel.*" | get-editbox | get-property text
| equals "get-editor SO4 | get-section Operations | get-table | select \"operation\\\\(parameter, parameter2\\\\)\" | double-click\n"
+ "with [get-view Properties | get-table] {\n"
+ " select \"==\\\"a\\\"\" | activate-cell-edit\n"
+ " with [get-text-viewer] {\n"
+ " type-text www\n"
+ " show-content-assist\n"
+ " }\n"
+ " apply-cell-edit\n"
+ " select \"==wwwa\\\"\" | activate-cell-edit -column 1\n"
+ " get-text-viewer | type-text qqq\n"
+ " apply-cell-edit\n"
+ " select \"==\\\"1\\\"\" | activate-cell-edit\n"
+ " with [get-text-viewer] {\n"
+ " type-text eee\n"
+ " show-content-assist\n"
+ " }\n"
+ "}" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--