blob: 68ecdebec507a0119e4fbb08d05d7976f4d0b3f9 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _tlWZcGphEeCzId1Gnkds9A
Element-Name: TestOptionsPopup
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _3eCdMFXJEeSTRuu0NM-TtA
Runtime-Version: 2.4.2.qualifier
Save-Time: 4/24/19 12:31 PM
Tags: Dialog, ControlPanel
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
TEST STEPS
1. Open Window->Preferences->RCPTT(advanced options)
2. Make some changes in Runtime Limits
3. Click Runner arg, see changes
4. Copy to Clipboard
5. Paste into text file
EXPECTED RESULT
By clicking Runner arg button it is possible to see changes and copy them into text file
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Test Explorer" | get-tree | select TestQ7Prj | get-menu "New/Other..." | click
with [get-window New] {
get-tree | select "General/File"
get-button "Next >" | click
}
with [get-window ".*New File"] {
get-editbox -after [get-label "File name:"] | set-text Text
get-button Finish | click
}
get-preferences-menu | click
with [get-window Preferences] {
get-tree | select "RCP Testing Tool"
//get-link "<a>Advanced options</a>" | click-link
get-section "Advanced options" | click
//with [get-window "Advanced options configuration"] {
with [get-group "Runtime Features" | get-section "Runtime Limits"] {
click
get-editbox -after [get-label "Context operation runnable timeout (ms)"] | set-text 100
get-editbox -after [get-label "Step mode: Step mode timeout (ms)"] | set-text 500
}
get-button Apply | click
get-link "<a>Runner arg</a>" | click-link
//}
}
with [get-window Preferences | get-window "-testOptions arg for RCPTT Runner"
| get-label "-testOptions.*" | get-property caption] {
contains "contextRunnableTimeout=100" | verify-true
contains "jobSleepingStepTimeout=500" | verify-true
}
with [get-window Preferences] {
with [get-window "-testOptions arg for RCPTT Runner"] {
get-button "Copy to Clipboard" | click
get-button Close | click
}
get-button "Apply and Close" | click
}
get-editor Text | get-editbox | get-menu Paste | click
with [get-editor Text | get-editbox | get-property text] {
contains "contextRunnableTimeout=100" | verify-true
contains "jobSleepingStepTimeout=500" | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--