How to validate sorting of number concatenated with string

2 posts, 0 answers
  1. Jude Milstan
    Jude Milstan avatar
    1 posts
    Member since:
    Mar 2010

    Posted 30 Dec 2012 Link to this post

    We got a HTML Grid to validate the sorting when click on the column headers. If we click first time it will sort in descending order and next time it will be on ascending order. But, the problem is one column is concatenate with number and string. The numbers are like section and subsection. should come before (first sort 13, 1,1 and then 2 after that string sorting). 

    We were tried in many ways to implement this logic using test studio but we don't have luck. Normal string comparison is not working. Please let me know whether test studio got any special function for this. Please note we are using Visual Studio c# for customized code. (Refer the screen shot for clarity)
  2. Ivaylo
    Ivaylo avatar
    782 posts

    Posted 02 Jan 2013 Link to this post

    Hello Jude,

    I have reviewed your case and in order to verify the sort order you might use a coded step in your case. Please check this article which should give you an idea on how to proceed.
    Hope this will help you out.

    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top