Bug 474225 - Improve set-dialog-result command to be able to dismiss a dialog.
Summary: Improve set-dialog-result command to be able to dismiss a dialog.
Status: RESOLVED FIXED
Alias: None
Product: RCPTT
Classification: Technology
Component: ECL (show other bugs)
Version: 2.0M4   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-04 06:52 EDT by Ulyana Skorokhodova CLA
Modified: 2015-08-20 04:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulyana Skorokhodova CLA 2015-08-04 06:52:24 EDT
For now if I press "Cancel" button in Open File dialog the following code is captured:

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

But the dialog is not closed during replay. 

Need to improve set-dialog-result logic to be able to dismiss a dialog if Cancel button is pressed, e.g.:

set-dialog-result File -cancel
get-menu "File/Open File..." | click
Comment 1 Nico Rausch CLA 2015-08-04 07:02:07 EDT
Confirmed. I need this fixed for some automated tests.
Comment 2 Eclipse Genie CLA 2015-08-18 10:05:41 EDT
New Gerrit change created: https://git.eclipse.org/r/53987
Comment 3 Ulyana Skorokhodova CLA 2015-08-20 04:45:28 EDT
Verified on https://git.eclipse.org/r/53987