Repository Variables

Ask general questions here.
martinsw
Posts: 72
Joined: Fri Dec 09, 2011 2:48 pm

Repository Variables

Post by martinsw » Thu Feb 02, 2012 12:57 pm

Hi,

It seems that when I go to change the default value of a variable within a recording module its status changes from "in use from repository" to "not in use". Can you explain why this would be given that I am making no other changes to the variable other than changing its default value?

The above only seems to apply for variables that are in use from the repository.

Thanks,

Martin

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Repository Variables

Post by Support Team » Thu Feb 02, 2012 4:28 pm

Hi,
martinsw wrote:...when I go to change the default value of a variable within a recording module its status changes from "in use from repository" to "not in use"...
That's because of the fact, that by changing the default value of a repository variable, the variable will become a recording variable, which means you have on variable in your recording and a different variable in repository.

Regards,
Tobias
Ranorex Support Team
.
Image

martinsw
Posts: 72
Joined: Fri Dec 09, 2011 2:48 pm

Re: Repository Variables

Post by martinsw » Fri Feb 03, 2012 10:05 am

Hi,

Are you saying then that it's not possible to assign a default value to an item in the repository?

Martin

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Repository Variables

Post by Support Team » Fri Feb 03, 2012 12:31 pm

Hi
martinsw wrote: Are you saying then that it's not possible to assign a default value to an item in the repository?
Of course you can set default values for variables in repository.
Therefore open the repository variables dialog, not the recording variables dialog.

Regards,
Tobias
Ranorex Support Team
Attachments
Ranorex-Variable-Buttons.png
Variable Dialog Buttons
Ranorex-Variable-Buttons.png (52.41 KiB) Viewed 3125 times
.
Image