anchor pos report

Description

Determines whether after the given automated tests are finished, TestArchitect generates a report file which contains the anchor and/or anchor pos properties and their replacement XPath property.

Allowable values

Default value

no/false

Applicable Systems/Platforms

Notes

Steps to replace anchor and/or anchor pos by XPath

  1. In startup settings, declare the anchor pos built-in setting with the value of yes. (Learn more.)
  2. Execute your tests.
  3. After the tests are finished, find the report file located at C:\Users\Public\LogiGear\TestArchitect\log. Filename of the report is anchors_report_<resultName>.txt, such as, anchors_report_ActionBasedTesting (2017-10-19 13.40.36) - 7292.txt
  4. Open the report file by using MS Excel spreadsheet.
  5. Repeat the below steps for each of anchor and/or anchor pos which are replaced by XPath.
    1. In the report file, from the Entity URL column, copy and paste URL of a project item to File Explorer, and then press the Enter key. TestArchitect navigates exactly to the desired item.

    2. For static identifiers:

      1. Copy the value from the XPath column in the report file.
      2. Manually modify anchor and/or anchor pos to XPath in TestArchitect’s test editors.

    3. For dynamic identifiers:

      1. Copy the value from the Element XPath Definition column in the report file.
      2. Replace the dynamic definitions of anchor and/or anchor pos by the dynamic definitions of XPath in TestArchitect’s test editors.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400