I am very new to Specflow/Specrun and C# programming. I need help in fixing the issue I am facing.
I have a Specrun feature file which queries database. Below is the code of the feature file:
Scenario Outline: Ensure all rows are correctly inserted on in the table
Given I am connected to "Database-XYZ"
When I run a script to ensure all rows are inserted for <tableName> of a <schemaName>
Then All tables have correct <columnCount> count.
This works absolutely fine. But I want to comment the second line and specify the database name at run time using the default.srprofile file.
I want to execute runtests.cmd
file (from commandline) using default.srprofile file and feed the database name at run time. Is it possible to achieve this?