Skip to main content

Desktop Designer Example - Kindle Desktop App

Here is a basic example of creating a desktop test that interacts with the Kindle Desktopdesktop App Example - Legacy AIQ Desktop Testapplication.

This example iswill retainedshow:

for
teams thatCreating stilla reference oldernew Desktop Designer desktoptest automationscript patterns. Treat it as a legacy sample, not asStarting the preferredrecording pattern for Launching the desktop application being tested Interacting with the desktop application Creating Visual Accessors Creating an assert Exiting the application Editing the test script Playing back the recording of the test script

Example

    In AIQ navigate to Desktop Testing > Desktop Designer.

    Click Create New Desktop Test.

    Name and save your new AIQtest authoring.

    script.

    WhatIn this example demonstrates

    the
      file is named KindleVideo.dds.

      .dds is the file extension for all Desktop Designer test scripts.

      Starting

      Select a desktopDesktop applicationConfiguration fromfile. If you have not created a knownDesktop state.Configuration file, see Desktop Designer Configuration Files for more information.

      Interacting with

      Click applicationPreview windowsto andsee controlsyour thatDesktop mayConfiguration changefile.

      across

      versions.

      Adding validation

      Click afterRecord navigationto orbegin content-loadingrecording steps.your test script.

      Capturing evidence

      Wait whenfor the app,device driver,to orload.

      operating

      system behavior

      changes.

      Maintenance

      guidance

      Right

      1. Confirmclick the desktop icon for the Kindle application versionapp and theselect WindowsDouble environmentClick. before

        rerunning

      The Kindle desktop app starts.

      Hover over one of the sample.book covers. Right click and select Capture Visual Accessor.

      Replace brittle

      Select image-onlythe boundaries of the Visual Accessor.

      Click Save Target.

      Click on the Visual Accessor.

      Add Step with Double Click.

      In the Desktop Designer window you can see that the step has been added to your test script.

      Click in the Search bar and then right click.

      Select Input Actions > Set Enter Value.

      Enter a search string. In this example the search string will be "Mitchell".

      Click Apply.

      The search results load.

      Select one of the search results and right click. Select the Double Click action.

      The page associated with the search result loads on the Kindle screen.

      Hover over the page and right click. Select Capture Visual Accessor.

      Adjust the Visual Accessor target. In this example it is the text "Wilkes Bashford" that is selected.

      Click Save Target.

      Add Step with Assert Exists.

      The test script updates in the Desktop Designer window.

      You can see more information in the Log Viewer tab.

      Click in the TOC and select Title Page.

      The title page loads.

      From the File menu select Exit.

      The Kindle desktop app closes.

      Click Stop to stop the recording.

      If needed you can edit your test script. For example, reordering an accessor.

      Click Play to play your test script.

      The Preview window displays the playback while the corresponding steps withare morehighlighted stable selectors or validations where possible.

      Use test data that does not expose personal account content.Runin the sampleDesktop asDesigner a smoke test before using it as a template for another desktop application.

      Obsolete-content note: Keep this page only as a legacy example. New examples should use the current AIQ workflow and current terminology.window.


      Last updated: OctoberSeptember 8,25, 20262024

      If you have any feedback on this topic, please contact us at documentation@appvance.ai