need code snipet for executing qtp script in dev and stage environment at same timeI
In my current automation project, would like to implement this scenario. I want to run one script in 2 or multiple instances such as dev,stage etc at same time. Currenly the framword restricts that in setting its taking the xml file of enviroment variable/file. so now its poining to either one instance. How to make this happen so at same time i can run in both instance. May be i am thining to add some initilization script/driver script. help me hre.
you can tweak the code like copy and save the XML file locally and access the environment variable will work.
Create two versions of the XML file, one for each environment. Take user input to determine which environment to choose and put a condition statement to chose XML file based on user input.