HTMLTable content export

Aug 16, 2013 at 10:52 AM
Edited Aug 16, 2013 at 10:53 AM
hello there;

i am new to CUITe and wanted to know following:
  1. is there easier/faster method (than browsing eachrow & writing...) in CUITe to export HTMLTable content in any of following
    i. System.Data.datatable
    ii. text file
etc...

regards,
AjayJ
Coordinator
Aug 24, 2013 at 7:00 PM
Hi AjayJ,

See this post for a "Useful set of utility functions for Coded UI Test":
http://blogs.msdn.com/b/gautamg/archive/2010/02/19/useful-set-of-utility-functions-for-coded-ui-test.aspx

It contains a method to "Get content of ... Data Grid ... in one shot".

It's not CUITe specific, but it should work.

You may need to call the Unwrap method on the CUITe control in order to call those extension methods.