How can I access Global Parameters from Program.cs?
Posted: Wed Mar 23, 2016 4:12 pm
I have added an Email Logger to my Test Suite.
I would like to be able to put the values shown here, from, to & cc - in the Global Parameters.
Is this possible? If so, how?
Code: Select all
// add a report logger that sends reports via email
string from = "[email protected]";
string to = "[email protected]";
string subject="Ranorex Report for CustomLogging";
string cc="";
MailLogger mailLogger = new MailLogger(from , to, subject, cc );
Report.AttachLogger(mailLogger);
Is this possible? If so, how?