I have a script in Action1 where I am using some variables. I want to declare these variable as environment variables. I have created a xml file with these variables and added in settings>Environment>User-defined.
Now when I run script (Option Explicit is written in Action1), QTP throws an error (variable not declared).
Please let me know how should I declare environment variable?