- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Passing two arguments (parameter and variable) to a query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-10-2009 04:54 PM
I have a query that uses 2 arguments and I'm trying to call it on a loop, every step will have a different value for the second argument and the first depends from a Global Parameter.
This is not working... please help me with its syntax:
[query arq_block_sizes DL_arq_block("[param bandwidth]","[get fr_id]")]
Both arguments are numeric type, for example this works: [query arq_block_sizes DL_arq_block(10,2)]
Thanks!
Fabian
Solved! Go to Solution.
Re: Passing two arguments (parameter and variable) to a query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-10-2009 10:29 PM
Re: Passing two arguments (parameter and variable) to a query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-12-2009 09:03 PM
Hi Kumar,
There is no space between the arguments, just a comma. I'm sorry, but I don't understand how to solve it.
Thanks,
Fabian
Re: Passing two arguments (parameter and variable) to a query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-12-2009 09:56 PM
Here is an attached example of where I am using a query with two arguments where the first argument is a parameter and the second argument is a variable. If there is space after the comma for the arguments, iTest parser produces an error - otherwise the query command works properly.
To use the sample, save the testcase and the response map in the same folder in any project of your choice.
Re: Passing two arguments (parameter and variable) to a query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-12-2009 09:56 PM
Re: Passing two arguments (parameter and variable) to a query
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-13-2009 08:38 AM
