I switch the server I am testing on a bunch at my job. I have global variables for the domain to help me switch between them. Then in the repository I also have Domain variables. Is there anyway I can map my repository variables to my domain variables?
Right now I have to change 2 global variables, 2 repo variables, then the SQL server my (several) data sources are pointing to. It is getting a bit ridiculousness.
Thanks
Can I map a repository variable to a global variable?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can I map a repository variable to a global variable?
Hi,
I guess you are searching for following documentation
http://www.ranorex.com/support/user-gui ... html#c2985
Regards,
Peter
Ranorex Team
I guess you are searching for following documentation
http://www.ranorex.com/support/user-gui ... html#c2985
Regards,
Peter
Ranorex Team
Re: Can I map a repository variable to a global variable?
That does tell me know to setup global variables. Now how do I map those variables to the repository to use them within my repo path?
I added some pix to try and help explain. Currently The variables in the repo are referring to repo variables of the same name. But it's duplicate information. I'd rather them mapped to the global variable.
I added some pix to try and help explain. Currently The variables in the repo are referring to repo variables of the same name. But it's duplicate information. I'd rather them mapped to the global variable.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can I map a repository variable to a global variable?
Hi,
If you added you Global Parameters you have to bind them in the Test Suite. If you open your TestCases you will find following screen In the Parameters section you can now bind the global variables to your repo variables.
Regards,
Peter
Ranorex Team
If you added you Global Parameters you have to bind them in the Test Suite. If you open your TestCases you will find following screen In the Parameters section you can now bind the global variables to your repo variables.
Regards,
Peter
Ranorex Team
You do not have the required permissions to view the files attached to this post.
Re: Can I map a repository variable to a global variable?
Thanks for the reply, but I am still lost. I do bind my global variables there to the variables with my code and record modules. But how to I bind them to my specific repo variables. They are not available in the drop down list.
Do I map them within my modules? I can look into that more... i just wanted to get this message out in case I am barking up the wrong tree.
thanks
S
Do I map them within my modules? I can look into that more... i just wanted to get this message out in case I am barking up the wrong tree.
thanks
S
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can I map a repository variable to a global variable?
Yes you have to map your global parameters with you modules. Therefore you have to open the parent testcase of your module and the you can map the global test suite parameter. Or you use a code module to map the parameters at the beginning.Pixi6s wrote:Do I map them within my modules? I can look into that more... i just wanted to get this message out in case I am barking up the wrong tree.
Regards,
Peter
Ranorex Team
Re: Can I map a repository variable to a global variable?
oh I got it! Brain kicked in.
I created a code module that fires first whose only job is to map the global variables to the repo variables.
Thanks for your help
Sierra
I created a code module that fires first whose only job is to map the global variables to the repo variables.
Thanks for your help
Sierra