How to import variables from another project

uiautomation
activities
studio

#1

Hi,
I want to import the variables that i created in one of my projects to another project. How can i do it ?

Thanks.


#2

Hi @Pratik,
You can use invoke workflow file activity and invoke the sequence you want to reuse therein there is an option Import Arguments where you can import the variable from one workflow to another.

Regards,
Jyotsna


#3

Pratik,

  • If you wanna use the variables(along with the values in one xaml) in the other xaml, then follow the steps provided by Jyotsna.
  • Incase you are in need to create\copy the same variables from one .xaml doc to other doc then you need to follow the steps provided in the below posts (After opening in Notepad or notepad++)


:warning: Please remember that err in the editing will collapse your entire xaml. Also do copy and paste the values enclosed within your <Activity> node.

image


#4

Thanks!


#5

Hi Jyotsna,

Thanks for the tip. However i need to copy them as I am redoing the code and just want to save time by not creating all the variables again.

Thanks.