How can i calculate some values with robot?

Hey there. How are you?
In first, sorry about my English… :smiley:

My issue is:

I want to calculate value using result get it with “Get Element Count”, set at variable.
I used this variable in ‘FOR’ loop, but it’s not representing the real value.

In this case, variable is equals 3, this way, the ‘FOR’ loop runs from 1 to 2, but i need runs from 1 to 3, as this way my tests goes good.

Anyone can help me?

You get the nr of elements and put it in a variable. Then you execute “${forloopend} Evaluate ${var}+1”. Then you make the for loop between 1 and ${forloopend}

1 Like

Tks dude. It worked as I expected!!