Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Cancel progress dialog
Cancel progress dialog [message #1830628] Thu, 30 July 2020 05:57 Go to next message
Stephan Stahlmann is currently offline Stephan StahlmannFriend
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

Re: Cancel progress dialog [message #1840148 is a reply to message #1830628] Wed, 07 April 2021 11:48 Go to previous message
Kieran McCarthy is currently offline Kieran McCarthyFriend
Messages: 2
Registered: November 2020
Junior Member
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: Sat May 04 04:03:12 GMT 2024

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

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

Back to the top