We want to validate the grid sorting functionality, How to verify whether records are sorted in particular order in Telerik Web UI automation process. we are using telerik grid in silverlight application. We would like to do validate each value for that column whether sorting is done perfectly
Regards,
Sandeep
Regards,
Sandeep
7 Answers, 1 is accepted
0
Hi Sandeep,
you state you're working with a Silverlight application. Is the Telerik Grid in this application a Silverlight GridView or an ASP .Net Grid. If it's an ASP .Net grid then it will be easy. You can add sorting-related verifications by bringing up the orb menu for the GridTableHeaders in the Grid as seen in this video:
http://screencast.com/t/9budixyo
We don't have such functionality for a Silverlight GridView so you might need to use a coded solution for a GridView.
Let me know what you're using.
All the best,
Stoich
the Telerik team
you state you're working with a Silverlight application. Is the Telerik Grid in this application a Silverlight GridView or an ASP .Net Grid. If it's an ASP .Net grid then it will be easy. You can add sorting-related verifications by bringing up the orb menu for the GridTableHeaders in the Grid as seen in this video:
http://screencast.com/t/9budixyo
We don't have such functionality for a Silverlight GridView so you might need to use a coded solution for a GridView.
Let me know what you're using.
All the best,
Stoich
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0

Ira
Top achievements
Rank 1
answered on 12 Jul 2011, 07:25 PM
Hi Stoich,
I'm having the same issue but it's with a Telerik RadControl for Silverlight, specifically the GridView. I've tried searching the forums and KB, but found nothing for Silverlight.
Is there a coded approach that's offered?
Regards,
Ira
0
Hi Ira,
Yes this is a very complicated automation problem. I have attached a sample test demonstrating how to validate the sort order that runs against our demo page at http://demos.telerik.com/silverlight/#GridView/RowReorder.
All the best,
Cody
the Telerik team
Yes this is a very complicated automation problem. I have attached a sample test demonstrating how to validate the sort order that runs against our demo page at http://demos.telerik.com/silverlight/#GridView/RowReorder.
All the best,
Cody
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!
Have you looked at the new Online User Guide for Telerik Test Studio?
Have you looked at the new Online User Guide for Telerik Test Studio?
0

Ira
Top achievements
Rank 1
answered on 13 Jul 2011, 09:01 PM
Not sure what it is I'm missing or done incorrectly, but I'm not able to playback your recording in Test Studio or VS2010.
I've attached the results of each attempt. Please advise.
Thanks,
Ira
I've attached the results of each attempt. Please advise.
Thanks,
Ira
0
Hello Ira,
From the log:
"Unable to find the code behind assembly. Please make sure you have compiled your code behind without errors before attempting to execute the test."
The VS plugin requires you to manually rebuild the project every time you introduce changes to the code-behind file.
Greetings,
Anthony
the Telerik team
From the log:
"Unable to find the code behind assembly. Please make sure you have compiled your code behind without errors before attempting to execute the test."
The VS plugin requires you to manually rebuild the project every time you introduce changes to the code-behind file.
Greetings,
Anthony
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!
Have you looked at the new Online User Guide for Telerik Test Studio?
Have you looked at the new Online User Guide for Telerik Test Studio?
0

Ira
Top achievements
Rank 1
answered on 15 Jul 2011, 08:55 PM
I've tried to build the project in Visual Studio but got the attached error. Should I be adding references for this to work?
Also, I've seen threads instructing to compile/build in Test Studio, but have not found anything in TS to support this. Does this occur automatically at playback/execute?
Test Studio gives error that compile failed. See attached.
Can you supply a video exampling what's needed for TS and VS use for this to work properly?
Regards,
Ira
Also, I've seen threads instructing to compile/build in Test Studio, but have not found anything in TS to support this. Does this occur automatically at playback/execute?
Test Studio gives error that compile failed. See attached.
Can you supply a video exampling what's needed for TS and VS use for this to work properly?
Regards,
Ira
0
Hello Ira,
Here's a Jing video demonstrating how to add assembly references in the Standalone version. We also have a user's guide article on this. Yes, the Standalone version automatically compiles upon execution.
The VS plugin does not have the Script Options in Project Settings because you can add directly into the References folder under your project. Please see this KB article and ensure no assemblies are missing.
All the best,
Anthony
the Telerik team
Here's a Jing video demonstrating how to add assembly references in the Standalone version. We also have a user's guide article on this. Yes, the Standalone version automatically compiles upon execution.
The VS plugin does not have the Script Options in Project Settings because you can add directly into the References folder under your project. Please see this KB article and ensure no assemblies are missing.
All the best,
Anthony
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!
Have you looked at the new Online User Guide for Telerik Test Studio?
Have you looked at the new Online User Guide for Telerik Test Studio?