Cancel progress dialog [message #1830628] |
Thu, 30 July 2020 05:57 |
Stephan Stahlmann Messages: 2 Registered: March 2018 |
Junior Member |
|
|
Our application uses a progress dialog while validating some data. The test I want to execute is to cancel the progress and then validate if the cancellation worked. The problem I have is that RCPTT wait for the pregress to finnish (which i guess is the expected behavior) but should not happen in my test case.
While recording I get the correct steps of:
with [get-view "ODX Differ"] {
click
get-button "Creates a new diff." | click
}
with [get-window "Select ODX context"] {
get-table | select "Context"
get-button OK | click -nowait true
}
get-window "Progress Information" | get-button Cancel | click
get-window "Diff creation aborted" | get-button OK | click
The Problem is that the cancel button is never clicked since RCPTT waits until the progress disappears and then the test fails, since the process isn't aborted. Is there a way such that it won't wait and the cancel button will be clicked?
[Updated on: Thu, 30 July 2020 07:30] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.08722 seconds