Login AT Best Practices

From Login VSI Documentation
Jump to: navigation, search

Login AT captures screenshots of desktops for comparison purposes, in order to detect if applications start correctly in your tests. Even though the Login AT comparison engine detects the actual application window(s), and does not use the full screenshot for comparison, it is crucial to use a consistent testing environment.

For the best results, follow these best practices to your test environment/machines:

1. Make sure all tests (including the ones from where you create your “reference” screenshots) are run with the exact same resolution, color depth and DPI settings

  • For instance, if you have a reference for application X, where the resolution was 1920 x 1080 at the time of the screenshot, and a test run at a later time was done in a resolution of 1024 x 768, the test will result in a “mismatch” while the application actually might be starting up correctly

2. Try to make sure there are no irregular pop-ups on the test systems that might interfere with the screenshots, like Windows Activation messages

  • If such a popup, which has nothing to do with a particular application, covers full or even a part of the application being tested at the time of a captured screenshot, the test will result in a “mismatch” while the application actually might be starting correctly

3. Please be aware that LoginAT is supported when conducting tests from remote desktop sessions, but:

  • Remote desktop connections inherit screen resolution, color depth and DPI settings from your client device
  • If you minimize a remote desktop session, graphics will no longer be rendered in the session, which removes the ability for LoginAT to capture correct screenshots
    • Important: Do not minimize remote desktop sessions while running LoginAT tests
  • The same also applies to disconnecting remote desktop sessions
    • Important: Do not disconnect remote desktop sessions while running LoginAT tests
  • When locking a workstation, LoginAT is unable to capture screenshots;
    • Important: Make sure the (test) workstations are unlocked while running LoginAT tests, including via Group Policy
  • The same also applies to an activated screensaver
    • Important: Make sure the (test) workstations are not using a screensaver while running LoginAT tests, including via Group Policy