Muthukrishnan Shanmugavel
Top achievements
Rank 1
Muthukrishnan Shanmugavel
asked on 06 Jul 2010, 08:11 AM
Hi team,
Please guide me on the below items. Thanks in advance.
1. How to get the property value during runtime? Ex. Want to get number of rows/columns in the web table during runtime.
2. How to retrieve specific cell vale during run time from the web table? Ex. Want to get 2,3 cell value from web table during run time.
3. I want to search for specific strings present in the web table. If string found, in which row it is present.
4 Answers, 1 is accepted
0
Hello Muthukrishnan,
Thanks for the post and question. Just to verify, are you referring to a Silverlight grid or an html grid? And would the grid be a generic or a Telerik one? Based on your response, we then respond more specifically to the 3 questions in your post.
But please also note that there are several properties you can verify on a grid by default as described under the 'Adding Quick Verification Steps' and 'Creating Advanced Test Verifications' in the QA Quick Start Guide for testing purposes.
Greetings,
Nelson Sin
the Telerik team
Thanks for the post and question. Just to verify, are you referring to a Silverlight grid or an html grid? And would the grid be a generic or a Telerik one? Based on your response, we then respond more specifically to the 3 questions in your post.
But please also note that there are several properties you can verify on a grid by default as described under the 'Adding Quick Verification Steps' and 'Creating Advanced Test Verifications' in the QA Quick Start Guide for testing purposes.
Greetings,
Nelson Sin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Accepted
Hi again Muthukrishnan,
Sorry, I missed the title of this ticket where you mentioned html table operations. Please see the attached test as an example on how to do everything you mentioned in your post against this generic table example and this RadGrid Demo.
The majority of the solutions for your questions will be in code in the example test. You would also need to highlight and add the respective grids to the project in order to reference the grid in code.
Please see the screenshot in the zip file to reference how to add a grid in the WebUI Element's menu. Also, please see this documentation for further reference on reading and writing code based on WebUI's Framework in code behind files.
Let us know if you have any questions on this.
Best wishes,
Nelson
the Telerik team
Sorry, I missed the title of this ticket where you mentioned html table operations. Please see the attached test as an example on how to do everything you mentioned in your post against this generic table example and this RadGrid Demo.
The majority of the solutions for your questions will be in code in the example test. You would also need to highlight and add the respective grids to the project in order to reference the grid in code.
Please see the screenshot in the zip file to reference how to add a grid in the WebUI Element's menu. Also, please see this documentation for further reference on reading and writing code based on WebUI's Framework in code behind files.
Let us know if you have any questions on this.
Best wishes,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Nicolas
Top achievements
Rank 1
answered on 02 May 2018, 09:05 PM
Regards
We are evaluating the product and we have the same question at this moment, about taking data from a Web Table or HTML Grid, to take it to another medium.
Based on the questions asked
1. How to get the property value during runtime? Ex. Want to get number of rows / columns in the web table during runtime.
2. How to retrieve specific cell voucher during run time from the web table? Ex. Want to get 2,3 cell value from web table during run time.
3. I want to search for specific strings in the web table. If string found, in which row it is present.
We are evaluating the product and we have the same question at this moment, about taking data from a Web Table or HTML Grid, to take it to another medium.
Based on the questions asked
1. How to get the property value during runtime? Ex. Want to get number of rows / columns in the web table during runtime.
2. How to retrieve specific cell voucher during run time from the web table? Ex. Want to get 2,3 cell value from web table during run time.
3. I want to search for specific strings in the web table. If string found, in which row it is present.
0
Hi Nicolas,
Thank you for your interest in Test Studio and please excuse us for the delayed reply.
First of all I would like to point that you are referring a forum post which dates back almost 8 years ago. Therefore you should be informed there are plenty of improvements and changes since then.
Since I am not aware if you are using the Test Studio Standalone version or only the Testing Framework I will provide information for both cases. Moreover part of the scenarios to cover could be accomplished in a coded solution only.
Depending on the html table to automate you probably will be able to verify its properties if you build an advanced verification against it. Alternatively if working in code only you could use the HtmlTable class and its properties.
To accomplish the other two scenarios I would like to share with you how to search in a table for specific content - this should be quite useful for you to find out how to proceed.
Please in case of any questions do not hesitate to contact me again!
Regards,
Elena Tsvetkova
Progress Telerik
Thank you for your interest in Test Studio and please excuse us for the delayed reply.
First of all I would like to point that you are referring a forum post which dates back almost 8 years ago. Therefore you should be informed there are plenty of improvements and changes since then.
Since I am not aware if you are using the Test Studio Standalone version or only the Testing Framework I will provide information for both cases. Moreover part of the scenarios to cover could be accomplished in a coded solution only.
Depending on the html table to automate you probably will be able to verify its properties if you build an advanced verification against it. Alternatively if working in code only you could use the HtmlTable class and its properties.
To accomplish the other two scenarios I would like to share with you how to search in a table for specific content - this should be quite useful for you to find out how to proceed.
Please in case of any questions do not hesitate to contact me again!
Regards,
Elena Tsvetkova
Progress Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings