Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Dismissing a File Chooser Dialog
Dismissing a File Chooser Dialog [message #1703703] Tue, 04 August 2015 10:39 Go to next message
Nico Rausch is currently offline Nico RauschFriend
Messages: 2
Registered: August 2015
Junior Member
I just tried to create a test for a bug in my tool, where a control was shown after dismissing a file chooser dialog, which should only be shown when actually choosing a file.
I can use
set-dialog-result File "/path/to/file.txt"

but I can't just ABORT the file chooser.
When I use empty string or no argument, the dialog just stays where it is.

Is there any trick of doing this or are there plans to implement something like set-dialog-result Abort?

Regards,
Nico
Re: Dismissing a File Chooser Dialog [message #1703709 is a reply to message #1703703] Tue, 04 August 2015 10:54 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Nico,

Yes, this is RCPTT bug, created a bugzilla issue here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=474225

Kind regards,
Ulyana.
Re: Dismissing a File Chooser Dialog [message #1705391 is a reply to message #1703709] Fri, 14 August 2015 13:59 Go to previous messageGo to next message
Nico Rausch is currently offline Nico RauschFriend
Messages: 2
Registered: August 2015
Junior Member
Is there any workaround until this gets fixed?
Re: Dismissing a File Chooser Dialog [message #1709539 is a reply to message #1705391] Tue, 29 September 2015 08:10 Go to previous message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Nico,

The issue is fixed.

When you press Cancel the following script is recorded and can be replayed successfully:

set-dialog-result File
get-menu "File/Open File..." | click

Kind regards,
Ulyana.
Previous Topic:[SOLVED] #TEST RUNNER #exception : Error initializing storage
Next Topic:AUT connection failing
Goto Forum:
  


Current Time: Tue Sep 24 14:12:56 GMT 2024

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

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

Back to the top