Search found 11 matches

by amit_kumar01
Wed Feb 11, 2015 6:48 am
Forum: Automation Tools
Topic: Problem getting an element name
Replies: 1
Views: 1707

Problem getting an element name

Hi Support,

There is an issue with the recording which i am facing. When i tried to automate an application which is built of WPF(.NET 4.5), I am not getting any element name for that items. Plz refer the attachment.

Note:- Application is built of WPF(.NET 4.5).
by amit_kumar01
Mon Jan 19, 2015 11:52 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Hi odklizec,

I tried with the code which you had mentioned in the last reply. But none of them are working.

With Regards,
Amit kumar
by amit_kumar01
Wed Jan 14, 2015 6:51 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Hi Support/swissside, Can we modify the below mentioned code so that after each execution, it could send the report to n users instead of one. The swisside code is working to send only one user. But here we need to send that report to n users. public void SendMail() { try { var fromAddress = new Mai...
by amit_kumar01
Tue Jan 13, 2015 9:38 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Hi odklizec, Its not working. Its displaying some error. Can we modify the below mentioned code so that after each execution, it could send the report to n users instead of one. //This is to address. In this we need to provide mail id of the receivers. var toAddress = new MailAddress("receiver1@gmai...
by amit_kumar01
Tue Jan 13, 2015 8:37 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Thanks odklizec, it is working now. How can we add two receiving mail id in that code? Suppose we need to send that report to 2 or more person after the execution of test suite. The sode which swissside has mentioned is // This is from address. "var fromAddress = new MailAddress("sample@gmail.coml",...
by amit_kumar01
Tue Jan 13, 2015 7:35 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Thanks swissside, The code which you have mentioned is working. Now i am able to get rxzlog file through mail.

Is there any other method to view the test suite report(which we will get in mail after execution) without installing Ranorex on the machine?
by amit_kumar01
Wed Jan 07, 2015 10:26 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Dear odklizec, I have inserted SendMail.cs at very last step in program.cs. After inserting Sendmail file, i am able to get only rxlog file as a test execution report to the mail. But whenever i tried to open this file, its displaying "missing some file (i.e. .data, .css, .xsl, and .png file). Would...
by amit_kumar01
Wed Jan 07, 2015 8:19 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Hi Support, Is this possible to attach all file at a time? Because we need 4 more files to view the rxlog file i.e. .css, .xsl, .png and .data file without these files we can't view test execution report. Or is there any alternate method to send all test report files at a time to the mentioned email...
by amit_kumar01
Tue Jan 06, 2015 1:25 pm
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Hi krstcs, Thanks now i am able to send mail. How can i send report within that mail(as an attachment). I am using this code. "MailMessage mail = new MailMessage("sample_from", "sample_to", Subject, Message); SmtpClient smtp = new SmtpClient(ServerHostname, int.Parse(ServerPort)); // to send attachm...
by amit_kumar01
Wed Dec 24, 2014 5:06 am
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Hi krstcs, After adding, the result is same. Again i am getting the same error i.e. "Mail Error: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required." SmtpClient smtp = new SmtpClient(...
by amit_kumar01
Tue Dec 23, 2014 1:21 pm
Forum: Automation Modules and Examples
Topic: Send Mail Module
Replies: 44
Views: 38280

Re: Send Mail Module

Hi Support, I am trying to send mail after each execution but i am getting this as a error message. The code which i am using is same as you have mentioned i.e. "/* * Created by Ranorex */ using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using ...