官术网_书友最值得收藏!

Setting up your environment

You will get a list of files with this book to help you try the examples properly. The following is an explanation on how to set up the environment to practice the automation examples against the applications under test.

The File Comparer application

Chapters 2 through 6, as well as Chapter 10, Tips and Tricks, revolve around the File Comparer WPF application. To configure this application environment, you need to:

  1. Run the FC_DB-Database Scripts.sql files in the SQL Management Studio.
  2. Open the settings.xml file from the solution bin and edit the ConnectionString parameter.

Reports

Chapter 6, Test Lists and Reports, gives examples on custom reports that can be found in the File Comparer - Reports.xlsx workbook. The data source files for these reports can be found in the ODCs folder. In order to properly display the charts in the workbook:

  1. Edit the ConnectionString parameter inside the ODC extension files.
  2. Bind the pivot tables inside the excel workbook to these files as follows:
    • The Execution Metrics for Last Run sheet to the FC_DB-L-EMLR.odc file
    • The Execution Metrics over Time sheet to the FC_DB-MOT.odc file
    • The Feature Coverage sheet to the FC_DB-FC.odc file
    • The Test Execution Duration sheet to the FC_DB-TED.odc file

Alternatively, you can create these charts with the queries provided in Chapter 6, Test Lists and Reports.

Additional files

The following are the additional files used in this book:

  • The Test Studio Automated Solutions folder contains the Test Studio automated solution for the examples in the book. For each chapter, there will be an incremental solution holding the examples for this chapter and the ones before.
  • The TestStudio.Extension folder is a Visual Studio solution and it corresponds to the Test Studio extension library demonstrated in Chapter 10, Tips and Tricks.

As for the remaining files, such as the data sources, external tests, and the fiddler SAZ file, they will be referenced by their names within the chapter examples.

主站蜘蛛池模板: 三亚市| 成武县| 丹凤县| 武陟县| 石屏县| 汉中市| 孝感市| 明水县| 福泉市| 大冶市| 个旧市| 柳河县| 西峡县| 樟树市| 西宁市| 林州市| 汾西县| 光泽县| 正宁县| 镇赉县| 杭锦旗| 西平县| 简阳市| 西吉县| 兰坪| 朝阳区| 定兴县| 宁河县| 岑巩县| 泾源县| 禹城市| 芜湖市| 肇东市| 邯郸市| 阜城县| 聂拉木县| 武威市| 云安县| 诸暨市| 方城县| 扎兰屯市|