Search found 5 matches

by cdwillis911
Fri Nov 22, 2013 9:56 pm
Forum: Automation Tools
Topic: Trying to set a variable as pass/fail based on execution
Replies: 2
Views: 1911

Trying to set a variable as pass/fail based on execution

Hello all, I have set up an email script which emails out the zipped report when the test completes. What I'd like to add to this, in the subject line of the email, is "PASS" or "FAIL" depending on the result of the OVERALL report. I am trying to find out where the value that gets output into this s...
by cdwillis911
Fri Nov 22, 2013 9:43 pm
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38438

Re: Send Mail Module

Scratch that last post. I figured out what I needed to do to assign variables. If anyone is interested, I created a csv file called "test.csv" and added the following code to read values from the file: var reader = new StreamReader(File.OpenRead("test.csv")); var line = reader.ReadLine(); var values...
by cdwillis911
Fri Nov 22, 2013 7:03 pm
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38438

Re: Send Mail Module

Hello Chris Did you read my previous post ? The only thing you need to do for it to work is replace "YourNameSpace" (in Program.cs) with the name of your own namespace. (You can see it at the beginning of any module/code module) Regards Boris Boris, Thanks for the reply. The issue I was having was ...
by cdwillis911
Fri Nov 15, 2013 4:29 pm
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38438

Send mail module issues

Hi all, I'm fairly new to Ranorex and C# in general, so please bare with me on this. I'm attempting to set up functionality that will email out the compressed report file once the script completes. I have imported the SendMail.cs module into my program, and it works fine as long as I set it up as a ...