Forum Discussion

kkrush's avatar
kkrush
Occasional Contributor
5 years ago

how to create config file can call in test (keyword)

I would like to know how to create a config/property/environment file in testcomplete and call the approparite env url  & username & password in keyword test, Or any other suggestions on how to create it.?

I dont want to create three different env scripts . 

for example, if i want to run in QA env, then i should call QA url , QA username and QA password, similary for UAT and DEV env, in one single click.

Any help is greatly appreciated.

 

 

i) QA URL : https://QA.QAenv.com

username : test@QA.com

password : test@123

 

ii) UAT : https://UAT.UATenv.com

username : test@uat.com

password : test@123

 

iii) PROD : https://PROD.PRODenv.com

username:test@prod.com

password : test@123