kkrush
5 years agoOccasional Contributor
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 creat...
- 5 years ago
Hi,
Did You try to use a Project Variables?
- 5 years ago
Hi,
Another possible approach is to create an .ini file with the content like this:
[QA]
username=test@QA.com
password=test@123
[UAT]
username=test@uat.com
password=test@123
[PROD]
username=test@prod.com
password=test@123
and work with this file via Storages object provided by TestComplete.
Required environment can be specified, for example, either via the command line or Project Variable (as suggested by Wamboo )