Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » Cancel progress dialog
Cancel progress dialog [message #1830628] Thu, 30 July 2020 01:57 Go to next message
Eclipse UserFriend
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

Re: Cancel progress dialog [message #1840148 is a reply to message #1830628] Wed, 07 April 2021 07:48 Go to previous message
Eclipse UserFriend
I have the same issue as the question above.
Anyone have the answer to this?

Kieran
Previous Topic:How to set testExecTimeout in RCPTT runner script
Next Topic:Adding External Jars...
Goto Forum:
  


Current Time: Thu Mar 20 22:05:35 EDT 2025

Powered by FUDForum. Page generated in 0.04005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top