Warning: fopen(/tmp/SghXTngBZPli-TYSzNV.tmp): failed to open stream: Disk quota exceeded in /home/executea/public_html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php on line 139
Warning: unlink(/tmp/SghXTngBZPli-TYSzNV.tmp): No such file or directory in /home/executea/public_html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php on line 142
In the last post of Step argument transformation, we discussed how to deal with arbitrary .Net types types using StepArgumentTranformationof specflow, in this post we will deal with dynamic table conversion of Specflow using Specflow.Assist.Dynamic package.
For more information on how to work with tablesand dynamic tables of Specflow.Assist.Dynamic, please refer the two articles below
Here is the complete video of the above discussion.
Here is the code snippet from the above video
[Then(@"I see the menus like")]
public void ThenISeeTheMenusLike(IEnumerable menuList)
{
var menu = menuList.First();
string menu1 = menu.Menu_1;
string menu2 = menu.Menu_2;
Console.WriteLine("The value of Menu1 is {0} and " +
"Menu2 is {1}", menu1, menu2);
}
Thanks for reading the post and watching the video !!!
Please leave your comments and let me know if there is anything I should update in this post.
Thanks,
Karthik KK