18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Unable to perform arithmatic operations.

AkhilsAkhils Members
edited November -1 in Sahi - Open Source
I am storing values in a variable from application, by using following script:

var $Variable;
_set($Variable, _getText(_cell(_table(12), 1, 2)));


Due to variable's data type (text) we are unable to perform arithmetic operations.

Ex.

Variable="121"

$Variable=$Variable + 100

gives

"121000"

How can I store the value as a number.

Comments

Sign In or Register to comment.