variables and their use

Ask general questions here.
Dyshar
Posts: 21
Joined: Thu Feb 23, 2012 3:06 pm

variables and their use

Post by Dyshar » Tue Mar 13, 2012 11:30 am

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: variables and their use

Post by Support Team » Tue Mar 13, 2012 3:21 pm

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

Dyshar
Posts: 21
Joined: Thu Feb 23, 2012 3:06 pm

Re: variables and their use

Post by Dyshar » Wed Mar 14, 2012 9:31 am

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