Hi, I've been working with the Verify Sort Order in an HTML Table C# example posted at http://docs.telerik.com/teststudio/user-guide/code-samples/html/verify-sort-order.aspx and have seen some strange behavior that I'm interested in learning more about, it's probably something I'm not doing correctly. Using the example at the posted link, I inserted a step to sort the results by Order ID descending which should fail the test when the sort order check is performed, since it's written to check for Order ID ascending. However, the test is still successful even though the browser window shows the list sorted by Order ID descending (11077, 11076, 10075, etc). A check of the results log shows that the verification step is checking against the original ascending sort order (10248, 10249, 10250, etc) which seems incorrect to me, the string list is built after the sort is applied to the table so the descending Order ID should dictate the Order IDs that populate the string list?
I'm also wondering how someone would apply a sort order check to the date column - would it be a simple matter of changing the column that you're building the string list from (in the case of the example, changing HtmlTableCell cell = row.Cells[0]; to HtmlTableCell cell = row.Cells[3]; and replacing the string comparison code with a date compare?
I'm also wondering how someone would apply a sort order check to the date column - would it be a simple matter of changing the column that you're building the string list from (in the case of the example, changing HtmlTableCell cell = row.Cells[0]; to HtmlTableCell cell = row.Cells[3]; and replacing the string comparison code with a date compare?