Page 1 of 1

variables and their use

Posted: Tue Mar 13, 2012 11:30 am
by Dyshar
Hello,
i have a little problem with variables
i have test case with 2records
in first record i am using variable $Login_name for set and validate and it is ok
and in next record i want validate it again, but there is no possibility to choose this variable, i can only make new variable with different name..

Test case
record1
set $Login_name
validate $Login_name
click button Ok

record2
validate $Login_name
...

can you please tell me how to do it ? i have many variables what i have to somewhere set and on manyother places validate
thx you
Milan

Re: variables and their use

Posted: Tue Mar 13, 2012 3:21 pm
by Support Team
Hello,

You can create a "SimpleDataConnector" and there you can add a column for the login, now the login can be bound to the module variables, so the two variables will use the same values.
For additional information please take a look at the following link.

Regards,
Markus
Ranorex Support Team

Re: variables and their use

Posted: Wed Mar 14, 2012 9:31 am
by Dyshar
hmm if i understand right i have to go to record2 and use menu "variable" -> "add new variable" and add varialbe with same name like i did in record1 and then i can use it in record2 with same value. i expected something like is for repository.. "copy variable from repository"
but it works so i am ok thx you.
Milan