blob: 5683dfccc292e7502b643ffef42b9d17fba21b5b [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _cQEZwD2QEeSxD9UFwnFS6w
Element-Name: Encrypt passwords during test recording
Element-Type: testcase
Element-Version: 3.0
External-Reference: https://bugs.eclipse.org/bugs/show_bug.cgi?id=436965
Id: _NuUnkD2QEeSxD9UFwnFS6w
Runtime-Version: 1.5.3.201409120955
Save-Time: 9/16/14 6:29 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view Applications | click
get-button "Record a Snippet" | click
get-aut "mockupsQ7" | eval {
get-button "Open Perspective" | click
get-menu "Other..." | click
get-window "Open Perspective" | get-table | select "Q7 Quality" | double-click
get-view "Q7 Quality Mockups" | get-tree | select "swt/text/Text" | double-click
with [get-view "Q7 Quality Mockups"] {
with [get-group Text] {
get-editbox -after [get-label "Password text:"] | click-text 8
get-editbox -after [get-label "Password text:"] | set-text "abc"
get-editbox -after [get-label "Echo char text:"] | click-text 8
get-editbox -after [get-label "Echo char text:"] | set-text "123"
}
}
}
get-window "Control Panel.*" | get-button Stop | click
get-window "Control Panel - mockupsQ7" | get-text-viewer | get-property text
| equals "get-button \"Open Perspective\" | click\n"
+ "get-window \"Open Perspective\" | get-table | select \"Q7 Quality\" | double-click\n"
+ "with [get-view \"Q7 Quality Mockups\"] {\n"
+ " get-tree | select \"swt/text/Text\" | double-click\n"
+ " with [get-group Text] {\n"
+ " get-editbox -after [get-label \"Password text:\"] | set-text [decrypt \"6r/A/MrzoNLVJW3qpPdEQA==\"]\n"
+ " get-editbox -after [get-label \"Echo char text:\"] | set-text [decrypt \"NTdhumfwZO/89koco4Z2uA==\"]\n"
+ " }\n"
+ "}" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--