Forum Discussion
Am sorry if my question was not clear .
Yes am testing an desktop application that reads and responds to data input.
OK, then... I would use a POM of some sort to do the actual testing of the responses on of each form... Again, you can leverage NameMapping to make it easier to construct your POM.
Then I would create a data-table or set of tables of some sort to contain your data that you'll be using for your tests, organized in a way that each row of a table equals a test case, perhaps even with the expected results as an additional column in the table.
Then I'd construct a data-driven framework to iterate through your table of data, running each test case, checking the expected results against the actual results.
There might be some more complexities... such as that there may be different record types in your data table dependant upon the particular form... or different tables, one for each record type. That's why I like the concept of a Table-Driven framework which iterates through your test cases contained in one table and then having a reference table (or tables), that then contain the specifics for each test case. YMMV as to how that all looks but that would be the direction I go.
Related Content
Recent Discussions
- 2 days ago
- 2 days ago
- 6 days ago