Forum Discussion
7 Replies
Sort By
- SmartBearDanSmartBear Alumni (Retired)
Hi dhirendranaga,
There's no way to pass a variable directly through a command line, but you can use a data source outside of TestComplete to set a variable value. This could be an Excel file, CSV, or any ODBC compliant database. Essentially, your Project could read that data source and set the Project level variables as the first step in the test set.
Some reference links on this below.
Data Driving a Test Case in TestComplete
-Dan
- joseph_michaudModerator
You could also set an environment variable and then read it in your test
http://support.smartbear.com/viewarticle/70788/ "GetEnvironmentVariable Method"
(Note that this won't work if you have enabled support for Windows Store apps on Windows 8 and up due to permissions issues).
- dhirendranagaOccasional ContributorThank you very much, will give a try.
Related Content
- 5 years agoKrishna_Kumar
- 2 years agoTestQA1
- 3 years agoloricotton
Recent Discussions
- 12 hours agovladd1