question

amichaels avatar image
amichaels asked drakesh answered

Create a query for extracting all values appearing in this column

The behavior of this option in table response maps is a bit confusing to me, and I want to make sure I understand it. Here's what I observe: - this option is checked by default, but no query is generated for it - it then seems that it is linked to setting the selected query as a key. If I set the query as a key, I see that iTest generates the "*_all()" queries. This is confusing, because there is no visual indication of this dependent relationship - no "*_all()" query is generated for the key column. This feels contradictory to what is visually described. - to get the "*_all()" query for the keyed value, I need to add additional keys so that the new keys will generate an "*_all()" query for my initially selected key. Is this understanding correct? Does this behavior seem confusing to anyone else, or is it just me?
response mapiTest Enterprise
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
drakesh avatar image
drakesh answered
When we create a table response map for any command response,iTest will generate the automatic queries for all fields in a response. If we check the Key option and provide a Sample Key Value, iTest uses the value in the column to find particular rows in the table. Attached is the sample response map for your reference. Could you please share us the your response map to understand more on this. [link text][1] [1]: /storage/temp/4572-sh_mac_address.ffrm

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.