Verify table cells
This functionality is only available in the old version of Tosca Cloud.
If you have tables in your application, you need to make sure they show the right content, so your end users don't experience any unpleasant surprises. This topic explains how to verify table content in a test case.
Before you start
Have you identified the cell whose contents you want to verify?
Verify cell contents
Once you've pointed Tosca Cloud towards the right cell, you can check its contents:
-
In your test case's table element, set the Action to Verify.
-
Define your expectations:
-
Choose an operator, either == is or != isn't.
-
Enter the expected value into the Value field. You can enter plain text, * wildcards, numbers, or value expressions.
-
-
To check the contents of additional cells, copy and paste the test step and adapt it.
Verify cell properties
You can verify properties of cells just like you can verify the properties of any other control. For example, to make sure that new cells exist after a big change to your application's table. Or if your application code requires you to verify content by a cell's InnerText property.
To learn more about verifying properties, check out Verify.
What's next
If you're ready, do a trial run of your test case. This lets you find and fix potential instabilities before you proceed with actual test runs.