qaf icon indicating copy to clipboard operation
qaf copied to clipboard

How to execute scripts in different environments (i.e QA and UAT) please share me some samples

Open ssuneel opened this issue 2 years ago • 1 comments

Hi,

Can someone share with me samples of how to execute scripts in different environments?

I have two properties files (i.e env. properties under env1 & env2 under resource-> environment folder) image

Env1:- env.properties - files contains URL = https://googleUAT.com/ UserName [email protected] pwd = test123

Env2:- env.properties - files contains URL = https://googleTST.com/ UserName [email protected] pwd = test12342

when I try to user below line in XML file parameter name="env.resources" value="resources/common;resources/env1" /

By default its always take env2 file values.

Please guide me how to processed further

ssuneel avatar Apr 14 '22 06:04 ssuneel

Refer documentation managing resources and configuration. In above case, it looks you are providing wrong path. From screen shot path is resources/environment/env1 not resources/env1.

cjayswal avatar Apr 18 '22 16:04 cjayswal

Closing as inactive

cjayswal avatar Jul 12 '23 22:07 cjayswal