Skip to main content



      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 03:25 Go to next message
Eclipse UserFriend
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 10:47 Go to previous message
Eclipse UserFriend
Hello,

The following snippet should help:

get window "Help - .*"

A dot is needed in your script.

Please try and let me know if it helps.
Previous Topic:ecl command bug
Next Topic:How to return value by custom command?
Goto Forum:
  


Current Time: Wed Mar 19 09:13:51 EDT 2025

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

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

Back to the top