This is a migrated thread and some comments may be shown as answers.

How to validate sorting of number concatenated with string

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jude Milstan
Top achievements
Rank 1
Jude Milstan asked on 30 Dec 2012, 03:46 PM
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. 13.1.1.2 should come before 13.1.1.1 (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)

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 02 Jan 2013, 11:58 AM
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.

Greetings,
Ivaylo
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Jude Milstan
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or