Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » AUT workspace changing test does not work normally.
AUT workspace changing test does not work normally. [message #1749143] Fri, 02 December 2016 10:03 Go to next message
Cho HyunJong is currently offline Cho HyunJongFriend
Messages: 106
Registered: July 2009
Location: korea
Senior Member

0. Win 10. rcptt 2.0
1. maven environment.
2. AUT workspace changing test does not work normally.
The workspace change screen appears and the test is immediately terminated.
get-menu -path "File/Switch Workspace/Other..." | click
with [get-window "Workspace Launcher"] {
    get-combo -after [get-label "Workspace:"] | select "C:\\Users\\hangum\\workspace-rcp-export"
    get-button OK | click
}


error
[INFO] Fail 1 (1) processed. 1 failed. spent: 0:08, 0:00 mins remaining. Import. time: 7412ms  Cause: Can't set value 'C:\Users\hangum\workspace-rcp-export' into combo. Value not found.
[INFO] Available values:
[INFO] 
[INFO] Failed Tests:

3. It works normally on the rcptt tool.

Can not I test workspace modifications?
Re: AUT workspace changing test does not work normally. [message #1750133 is a reply to message #1749143] Fri, 16 December 2016 10:12 Go to previous messageGo to next message
Artem Kovalev is currently offline Artem KovalevFriend
Messages: 25
Registered: April 2016
Junior Member
HI Cho,

Please change your test case to:
get-menu -path "File/Switch Workspace/Other..." | click
with [get-window "Workspace Launcher"] {
    get-combo -after [get-label "Workspace:"] | set-text "C:\\Users\\hangum\\workspace-rcp-export"
    get-button OK | click
}

When you start you application from a maven environment, rcptt plugin create a new workspace for this. And the dialog "Eclipse launcher" does not contain paths of previous workspaces.
Replacing select command to set-text should fix problem.
Re: AUT workspace changing test does not work normally. [message #1750795 is a reply to message #1750133] Thu, 29 December 2016 04:24 Go to previous message
Cho HyunJong is currently offline Cho HyunJongFriend
Messages: 106
Registered: July 2009
Location: korea
Senior Member

@Artem Kovalev thanks a lot.
Previous Topic:Explicit refresh with F5 key doesn't work in diagram and table editors
Next Topic:Test login dialog before workbenchWindowAdvisor starts
Goto Forum:
  


Current Time: Thu Mar 28 15:48:09 GMT 2024

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

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

Back to the top