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 03:30] by Moderator