我正在使用名为 RCPTT 的工具测试我的 eclipse rcp 应用程序 GUI。
在 rcptt 中,我想检查是否打开了特定的编辑器。
现在我正在使用
get-view "Console" | get-table | is-disabled | verify-false
但这是进行验证的错误方法。
使用此代码,如果未打开控制台,则单击控制台并进行验证。它一直都过去了。
那么,有什么办法可以
- first get the current view(which view is displaying currently to user.)
- then verify this view.
谢谢