1
storeText ( locator, variableName ) 
${variableName}

If variableName contains value as 'Displaying 1 to 30 of 145300'. I need to parse this string and store a value 145300 in another variable. How is it possible ?

Dimitre Novatchev
  • 240,661
  • 26
  • 293
  • 431
Jackie James
  • 785
  • 8
  • 15
  • 28

1 Answers1

3
Command: storeEval
Target : '${variableName}'.split(' ').last()
Value  : result
Aleh Douhi
  • 1,958
  • 1
  • 14
  • 13