Is it possible to define a seperate config file and load config values form config fi

Joined
Jul 12, 2012
Messages
6
Programming Experience
1-3
Hi All,
Currently I am automating a project with Silk Test Tool using VB.Net Scripting.
Currently i am hard coding the configuration values in Test Script.
Is it possible to define a seperate config file and load this config values form config file during run time in VB.Net?
Please provide some code sample if possible.

Thanks,
Rajendra Prasad Reddy
 
Yes, you could havea text file which could be read at runtime using streamreader or you could use a settings.settings file

Sent from my XT910 using Tapatalk 2
 
Back
Top