Bug 474225

Summary: Improve set-dialog-result command to be able to dismiss a dialog.
Product: [Technology] RCPTT Reporter: Ulyana Skorokhodova <ulyana.skorokhodova>
Component: ECLAssignee: Project Inbox <rcptt-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: rausch.nico
Version: 2.0M4   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/53987
https://git.eclipse.org/c/rcptt/org.eclipse.rcptt.git/commit/?id=5c7c41f71e91e0706d3da4150b7b095e16ed7741
Whiteboard:

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