Hi, If I understand your problem correctly, The problem you are facing is to update Environment Values every time if you are executing script of different machine.
So You can try one solution, Keep a copy Environment Variable file and update it once and save it at seperate place. Whenever you need to execute the latest script you can replace existing Environment variable file with your own Environment variable file. Everyone who is expecting to execute the script will have their own Environment variables. Whenever anyone needs they can replace it and use it without changing it again and again. I think you will have Environment variables in Xml or .vbs file so use the same name while replacing Environment file. Additionally you need to add any new Environment Variables if you add anything new. Nikhil Sent from my iPhone > On 28 Jun 2018, at 4:20 am, [email protected] wrote: > > Hi, > > Is there an easy way to copy the environment variable names from one script > to another? I don't want to load them because then they are external and I > cannot update them, My scripts are executed by different people on different > machines. However most of these scripts use the same environment variables. > It's a lot of work to add those variables to each script one by one. Is > there a way I can copy the env variables? > > Thanks > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
