We have requirement to in interrogate dynamic html table for Checkin time entry. But every datacell represent as textfield. When I use datacell its only display label value. Here I attached Interrogate table designer window.
Please suggest any ways to get datacell values for this dynamic html table.
As per your description and screenshot, I understand that in "HTML table designer window" you could see the values but not whole content inside table data i.e (<span>,<span>,<input>,<label>). If this is correct, you can proceed creating table, even if you see the values in "HTML table designer window".
Once table have been created from object explorer, open test controls methods for the table data control that was created. You can use get_InnerHtml method to get whole inner html tags present inside table data. once you get the innerhtml content use stringutils, etc.. as per your requirement.
I hope your query was addressed, looking forward on your response.
For my requirement , Dynamically table text fields created for project tasks time entries. For example, If project have 3 tasks then table dynamically displaying 3 rows. I tried with DataGridView to display dynamically. But values not getting as expected(Only displaying label values). If I use 'get_InnerHtml' method I can get value from input tag. But when dynamically rows added how I perform to read those datacell values?
Can you please help to solve this issue. I attached screenshot for my automation and Html tag for table designer. Please check those as well.