You can create properties file as per your requirement under resources dir. Properties will be available in your test case and test page. You can directly access by props/pageProps object available at test/page level.
String someprop = props.getString(“some.property”);
A context object is available in every class that extends BaseTestCase. It contains all the information for a given test run. You can set/get attributes to/from context, provides a way for inter test communication.