Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Record System Windows events
Record System Windows events [message #1711305] Wed, 14 October 2015 19:14 Go to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello,

I would like to record and use system windows. For instance, I would like to make click , save as option (in the menu ) and ,choose the path and click ok. However, when I am recording it, events are not recorded when working on the save window.

Is there a way to do this?.

Regards,

Agustín
Re: Record System Windows events [message #1711319 is a reply to message #1711305] Thu, 15 October 2015 01:39 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Agustin,

RCPTT should record the result for system windows by adding set-dialog-result command, i.e.:

set-dialog-result File "/Users/Ulik_MacAir/Downloads/MyLicense.license"
get-menu "File/Open File..." | click

Is it recorded in your case?
Could you please attach the recorded script?
Does the recorded test fail because nothing is recorded?

Kind regards,
Ulyana.


Re: Record System Windows events [message #1711377 is a reply to message #1711319] Thu, 15 October 2015 12:20 Go to previous message
Angelo Luciani is currently offline Angelo LucianiFriend
Messages: 129
Registered: September 2015
Location: Milan
Senior Member

Hi Augustin,
below a portion of code I use to upload and .xls file (It is native system window).
Hope this help
set-dialog-result File "C:\\Users\\angelo.luciani\\pippo.xls"
set-dialog-result MessageBox 32
get-menu "File/Upload/Upload Trade" | click



"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
Previous Topic:[SOLVED WITH WORKAROUND]Error when I try to emulate mouse right button click on the table
Next Topic:[SOLVED] RCPTT Maven Plugin
Goto Forum:
  


Current Time: Fri Sep 20 21:20:54 GMT 2024

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

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

Back to the top