question

CRaman avatar image
CRaman Suspended asked CRaman Suspended posted

Missing Queries

I have a test case where I specifically map a response to a command to my DUT.  I also store the response of the command to a variable.

 

Prior to running the test case, I want to insert some other steps that query the results from the command sent to the DUT.  I noticed that if I use the right mouse click and go to the "Insert Queries" wizard, it recognizes my stored response but does not show me the queries available.

 

Must I run the test case first to see what queries are available to me even though I've specifically assigned the response map to the response?

iTestresponse map
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

·
PaulD avatar image
PaulD answered PaulD posted

Unfortunately, the answer is currently "yes".  We are doing our best to provide as much pro forma information at design time about what is likely to be available at execution time.  At the same time, there is always the question about how far we try to go with this.  As it currently stands, we depend on information stored from the last time the test case was executed in order to populate most of this information.  And the queries associated with a step are part of that information.  That is why you won't see any queries available until the most recent test report includes a step that was mapped using the selected response map.  Theoretically, what you are asking for can be done, by recognizing that we need to map that response again to get the needed information.  But there will always be limits.

 

 

1 comment
10 |950

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

KumarS avatar image KumarS commented ·

Another feature request can be that user can provide a sample response for a step for these scenarios.

 

Also - if you create your testcase from captured steps, iTest knows about the response from the capture and uses it. This does not have to be an entire testcase - dragging a few steps from capture view to the testcase will tell iTest what the response for the step is.

 

Other than that, as Paul indicates you will have to run the testcase to get the response. 

0 Likes 0 ·

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.