how to update a response map when a new field is added to test data CSV file
I have test data file with several columns. I had to add a new field so added a new column. but when i run readFile step, I see that this newly added field is not getting added to the responsemap's query.. How to update responsemap with this new column?
No need to add a new column. Just go to Response map-> Table Maps-> Table-> Columns (scroll down) and enable the check box "Use the last column as a template for additional identical columns" as shown below: ![alt text] : /storage/temp/3687-last_column.png
Thanks for the reply.. on selecting Response map-> Table Maps-> Table-> Columns I see an option 'Add column'. When it is clicked a new column is added to the last column of query table. but I didn't see an option to edit this column.. Any idea about this ..?
I hope you are using table mapping to generate queries. In iTest, once the structure is generated we could not change the format in the response map. If we want to add a new column, we need to generate new response map. In this case the response maps automatically generates queries for the new row but not for the new column. There is another option for this, where we can add addition values to the response map but it gets added to the last column only instead of creating new column. To get this, please go to Response map-> Table Maps-> Table-> Columns and at the bottom check the option "Use the last column as a template for additional identical columns".