Completed
Last Updated: 26 Sep 2017 11:24 by ADMIN
Gary
Created on: 26 Sep 2016 16:10
Type: Feature Request
1
Increment a Variable for Use in Testing
I have the need to increment a global variable to use in testing.  For example, I send a variable in my uri that my device reads to set an internal setting.  I want to make sure that the device accepts the whole range of numbers allowed by the devices internal variable type.  Is there a way to do this currently? 
3 comments
ADMIN
Oleg
Posted on: 26 Sep 2017 11:24
Hi,
Since version R2 2017 (v. 2017.2.530) from May 30, 2017 variables can be incremented using coded steps (see http://docs.telerik.com/teststudio-apis/features/code-features/coded-steps ).
ADMIN
Kiril Stanoev
Posted on: 28 Sep 2016 08:31
Hi Gary,
Thanks for writing. Unfortunately incrementing a variable is not supported at the moment. I've added an item in our backlog and as soon as we start working on that we'll update this feedback entry that you've submitted.
Gary
Posted on: 26 Sep 2016 16:12
{{base-url}}/?command=SetValueEx&uri=public.settable_float&value={{counter}}&format=json

This is the uri showing what I want to do.  Counter is the variable I want to increment.