Q7

"switch editor" window hangs after assertion mode has been activated.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.9
  • Fix Version/s: 1.2.10
  • Component/s: Recording
  • Labels:
  • Test Mode:
    Manual

Description

Use Eclipse SDK 4.2.1 as AUT.

Use contexts from the attached test case and try to record the following:

  1. Open class1, class2 editors;
  2. Press Ctrl + E - make sure that opened editors list appeared, containing class1 and class2 (press Alt+Shift+7 to switch on the assertion mode);
  3. Create new file;
  4. Press Ctrl + E - make sure new file is listed in opened editors list;
  5. Select class1 - make sure its editor is now active.

Bug: after you use the assertion mode the yellow window (containing editors list) hangs and you can't get rid of it. When you press Ctrl+E second time - Q7 captures new yellow window with:

-index1 (get-window -from "AbstractTableInformationControl.<init>()" -index 1) 

because there are 2 windows on a screen.
However, in replay mode first window is successfully closed and the recorded test fails because there are just one window and no -index1 window.

Activity

Hide
Andrey Sobolev added a comment - 13/Nov/12 9:34 AM

On recording, I've do a special check for E4 popup, and activate it one more time.
So it will be hided then user click to some other place in workbench.

On replay, then next command will access different shell, Q7 will send deactivate event to all other visible shells. So popup will be also hided.

Show
Andrey Sobolev added a comment - 13/Nov/12 9:34 AM On recording, I've do a special check for E4 popup, and activate it one more time. So it will be hided then user click to some other place in workbench. On replay, then next command will access different shell, Q7 will send deactivate event to all other visible shells. So popup will be also hided.
Hide
Ulyana Skorokhodova added a comment - 20/Nov/12 1:15 PM

verified

Show
Ulyana Skorokhodova added a comment - 20/Nov/12 1:15 PM verified

People

Vote (0)
Watch (0)

Dates

  • Created:
    02/Nov/12 1:20 PM
    Updated:
    20/Nov/12 1:15 PM
    Resolved:
    13/Nov/12 9:34 AM