Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » Dismissing a File Chooser Dialog
Dismissing a File Chooser Dialog [message #1703703] Tue, 04 August 2015 06:39 Go to next message
Eclipse UserFriend
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 06:54 Go to previous messageGo to next message
Eclipse UserFriend
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 09:59 Go to previous messageGo to next message
Eclipse UserFriend
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 04:10 Go to previous message
Eclipse UserFriend
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: Fri Jun 20 22:20:47 EDT 2025

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

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

Back to the top