Questions tagged [eclipse-rcptt]

Use this tag for questions about the Eclipse RCP Testing Tool (RCPTT).

The Eclipse RCP Testing Tool is used for testing the GUI of Eclipse based Rich Client Programs.

For more information see the RCPTT Home Page

47 questions
5
votes
1 answer

RCPTT running Java code from the script

I am looking for some way to run some Java code directly from the test script I am writing for our RCP application. I need to set up a multi-cast socket in the test before clicking a particular button in the application. Something like…
BrendanM
  • 383
  • 3
  • 14
4
votes
1 answer

Eclipse RCPTT Hanging in Jenkins

I am trying to automate my Eclipse UI testing using Jenkins. I have a Jenkins Windows slave where I have installed Eclipse RCPTT IDE. In Jenkins I am using this script with my information. I have also narrowed it down to just run java -jar…
Chris Bolton
  • 2,162
  • 4
  • 36
  • 75
3
votes
1 answer

get the current view which is displayed to user and verify

I am testing my eclipse rcp app GUI using a tool called RCPTT. In rcptt, i want to check that a specific editor is opened or not. right now i am using get-view "Console" | get-table | is-disabled | verify-false but this is wrong way to do…
Eric Ipsum
  • 723
  • 3
  • 10
  • 24
2
votes
1 answer

RCPTT - Can't accept return from procedure as if condition

When I try to use the procedure in the if-condition below, it doesn't work. proc "isAvailable"{ bool false } loop[val index [int 0]]{ if[isAvailable]{ show-alert "Test" } else { show-alert[ $index |str] } if…
Julius L.
  • 21
  • 2
2
votes
1 answer

How to check if a window is open in Eclipse RCP, with RCPTT

I have an ECL script developed in RCPTT, to test an RCP application. During the test, it sets some settings and save it. When the test press "OK", an information window can open to inform user that this change need to rebuild the project. My…
vincrichaud
  • 2,218
  • 17
  • 34
2
votes
0 answers

Where can I learn RCPTT?

Where can I learn RCPTT? I need to learn it for a project I am working on. However, there are very limited sources on Internet and the few that are there, are without any examples. Can you recommend me some good book or any site where I can get…
2
votes
1 answer

Using relative path in file loading dialog of RCPTT

In the file dialog i want to load the file from the workspace. For that i need to use the relative path instead of the full path. Is there anyway to use the relative path(/../workspace/file.txt) instead of full path…
2
votes
3 answers

How to inject parameter in Jubula or RCP Testing Tool?

I want to test my RCP application with GUI tests. I've found two possible tools: Jubula and RCP Testing Tool. Does anybody know, how to inject parameters into the tests, so that I can use one test case with multiple inputs?
jagemue
  • 363
  • 4
  • 16
1
vote
0 answers

Could not read standard output of command 'cmd'

I am getting the below error when I try to execute the 'clean package' maven command. Any ideas why the stream is closed ? However, when I launch the task by itself, it works: gradlew 41_RunUIUnittests My task: task 41_RunUIUnittests { doLast…
Frederic
  • 2,015
  • 4
  • 20
  • 37
1
vote
0 answers

In RCPTT, how do you verify the state of a SWT.CHECK menu item?

I have an Eclipse based application that has a context menu with items that when clicked on once cause the menu to disappear. If the menu is opened again those items are checked (their style is SWT.CHECK). If clicked on again they are unchecked. In…
1
vote
1 answer

Getting error while launching AUT for recording - Timeout error :AUT doesn't respond

I'm trying to record tests on my app. I could successfully add AUT( in applications view) But when i'm to record test My App is loaded (AUT has splash screen to get credentials, after entering credentials AUT is loaded ) and i can interact with AUT,…
azeem
  • 23
  • 8
1
vote
1 answer

check that a window is opened in RCPTT

I want to check if after some actions, a window is opened. The window name is "Help - Test". Below is my code: with [get-window "Help - Test"] { get-property "isEnabled()" | equals true | verify-true get-property "isVisible()" | equals true…
georgiana_e
  • 1,809
  • 10
  • 35
  • 54
1
vote
1 answer

Eclipse-RCPTT If condition Implementation

Can some briefly explain how "If" condition works in Eclipse-RCPTT script or link where can I get information regarding this?
1
vote
1 answer

Browser.evaluate from ECL command doesn't return Object

Within my Eclipse RCP application, I make use of the SWT Browser to display a web application. I've been able to automate the testing of the application using the "invoke evaluate" function to interact with the DOM elements (i.e. insert text,…
Kyley Jex
  • 53
  • 8
1
vote
0 answers

How to scroll a view in a ECL (RCPTT) script ?

In one of my tests, written in ECL with RCPTT, I need to check the value of a register. To do so I check the value shown in the registers view The problem is that the register I'm looking for is far in the list. And the debugger load the value…
vincrichaud
  • 2,218
  • 17
  • 34
1
2 3 4