Data Driven Image Verification
To data bind an image verification step, certain actions have to be performed. One possible approach to this scenario involves the following steps:
Create a histogram of the image element.
Bind the verification step to the histogram.
Perform the verification in a coded step as demonstrated below:
To complete this scenario using the provided sample:
- System.Drawings .NET assembly must have a reference in the project.
- The test script must be bound to a data source with a Histogram column.
- The image histogram data must be formatted as a single line string in the data storage cell. For a histogram example - one is created if an image verification step is recorded in the test script .tstest file