Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Get-window regex(Test that a window is opened, name is given as regex)
Get-window regex [message #1809435] Tue, 16 July 2019 07:25 Go to next message
Georgiana Ecobici is currently offline Georgiana EcobiciFriend
Messages: 23
Registered: July 2019
Junior Member
I want to test that after some actions, a window is opened.
The code below doesn't work, I get that the window doesn't exist.
get window "Help - Test"

I tried to give a regex like below, and it still doesn't work:
get window "Help - *"

There is a way to get the latest opened window and then I will check if that is the window I want? Or to get a window by name regex?
Re: Get-window regex [message #1809532 is a reply to message #1809435] Wed, 17 July 2019 14:47 Go to previous message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member


The following snippet should help:

get window "Help - .*"

A dot is needed in your script.

Please try and let me know if it helps.

Yours sincerely,
Previous Topic:ecl command bug
Next Topic:How to return value by custom command?
Goto Forum:

Current Time: Wed Feb 21 15:50:39 GMT 2024

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

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

Back to the top