Q7

On Windows, AUT is not put on top of other windows before taking screen shot

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.11
  • Fix Version/s: 1.3.12
  • Component/s: Runtime
  • Labels:
  • Test Mode:
    Manual

Description

Customer ticket 748

Take-screenshot command makes AUT window active if it is minimized.
But when there is a window appearing (dialog or wizard), take-screenshot command takes screenshot of this window and only after that main AUT window is activated.
We need both windows to be shown for a taking a screenshot.

Use this code to reproduce (minimize AUT before execution):

get-view "Q7 Explorer" | get-tree | get-menu "New/Q7 Project" | click

take-screenshot
wait 200
take-screenshot

Activity

Hide
Vasili Gulevich added a comment - 07/May/14 6:05 PM

When AUT window is actually minimized, take-screenshot works as expected.

Related bug:
On Windows, AUT is not put on top of other windows.

To reproduce:
1. Make unrelated window to cover area taken by AUT's window
2. Execute take-screenshot

Actual result:
AUT window is still covered by the unrelated one
unrelated window image in screenshot

Expected result:
AUT should be on top of other windows before taking screnshot.

Show
Vasili Gulevich added a comment - 07/May/14 6:05 PM When AUT window is actually minimized, take-screenshot works as expected. Related bug: On Windows, AUT is not put on top of other windows. To reproduce: 1. Make unrelated window to cover area taken by AUT's window 2. Execute take-screenshot Actual result: AUT window is still covered by the unrelated one unrelated window image in screenshot Expected result: AUT should be on top of other windows before taking screnshot.
Hide
Vasili Gulevich added a comment - 13/May/14 6:01 PM

Implemented as a Windows-specific fragment.

Show
Vasili Gulevich added a comment - 13/May/14 6:01 PM Implemented as a Windows-specific fragment.

People

Vote (0)
Watch (0)

Dates

  • Created:
    01/Apr/14 8:37 AM
    Updated:
    10/Jun/14 6:14 PM
    Resolved:
    10/Jun/14 6:14 PM