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

Field Original Value New Value
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.
Use Eclipse SDK 4.2.1 as AUT.

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

# Open *class1*, *class2* editors;
# Press *Ctrl + E* - make sure that opened editors list appeared, containing *class1* and *class2* (press *Alt+Shift+7* to switch on the assertion mode);
# Create new file;
# Press *Ctrl + E* - make sure new file is listed in opened editors list;
# 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:
{noformat}
-index1 (get-window -from "AbstractTableInformationControl.<init>()" -index 1)
{noformat}
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.
Fix Version/s 1.2.10 [ 11880 ]
Andrey Sobolev made changes - 13/Nov/12 9:34 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Ulyana Skorokhodova made changes - 20/Nov/12 1:15 PM
Status Resolved [ 5 ] Closed [ 6 ]

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