MarketplaceStudioActivityReporter for UiPath

Create your first automation in just a few minutes.Try Studio Web

Reporter for UiPath

Reporter for UiPath

by Vivek Ingole

Star

13

Activity

Downloads

5.6k

Natsuki Nakanishi
Posted 3 years ago

Hi Vivek.

Do you have a solution for the exponential slowdown in report output?

When I try to output 500 tests (10000 steps in total), it runs quite slow.

I think it's probably because the HTML file is getting bigger and taking longer to read and write, do you have any solutions?

I think one solution is to generate the HTML at the end instead of editing the HTML file at each step.

Vivek Ingole
Posted 3 years ago ago

Hi Natsuki.

Yes, there is a solution to increase it's performance. Actually main cause of this issue is frequent override of HTML report. On each StepStatus activity call, reporter will refresh entire HTML report.

As a solution to this problem I'll add new checkbox in StepStatus activity named 'SaveReport'. by default this checkbox will be checked.

if SaveReport is Checked, then HTML report will update.

if SaveReport is Unchecked, then HTML report will not update.

Whoever having performance issues can update entire HTML report atlast, after the execution. but this might create additional issues like:

- If during execution any error occure and execution gets stopped in between then you'll lost your results. so you need to implement proper exception handling.

- In case your scripts are reporting any exceptional messages in report, you can't review it during execution. e.g. If you are running 500 testcases in batch and from 100th testcase script started throwing exceptions which needs immediate fix (fix might be from script or application side). so after execution of all testcases you'll get to know those failed 90 testcases need to run again.

Thanks Natsuki for letting me know, very soon I'll publish next update!

.

For temp fix you can avoid embedding of 2KB of data for each step. it is not recommened to log such a huge data in report. Alternatively you can generate log files to store additional information about that step. In report try to keep one liner description of the step.

Hi Vivek,

Any plans to migrate this Activity from .NET framework to .NET Core.

you have Great tool skills, Appreciate it. 

BRG.

Vivek Ingole
Posted 3 years ago ago

Thanks for using ReporterForUiPath. I'll try to find a way to do that but I cannot promise any deadline.

Natsuki Nakanishi
Posted 3 years ago

Hi Vivek,

Does this work on offline?

The html seem to be including links for downloading icons, fonts, etc.

However, I want to use this without internet access.

Thanks,

Natsuki

Vivek Ingole
Posted 3 years ago ago

Hi,

ReporterForUiPath is designed to work in offline mode as well. 

Without internet just it will not load titlebar icon and additional font. And I think those are not that much important.

Let me know in offline mode if you have any other issues in layouts, styles, other icons or in navigation.

Thanks,

vivek

rama krishna
Posted 4 years ago

Hi Vivek,

I've added report, suite, test and steps with required fields...but fter execution, report got generated with only timestamp as report name. Also suite name or test name are not being displayed. Can you please help here to fix this issue.

Thanks,

Rama

Deepali Korde
Posted 4 years ago

how to change recording file type? which file type is supported?

Vivek Ingole
Posted 4 years ago ago

It will export screen recordings only in .avi format and reporter don't have any option to select file format. Alternatively you can try changing its type manually.

Karine GUIBERT
Posted 4 years ago

Hi Vivek,

Thank you for all the informations.

You have used only SMTP protocol to send emails and it’s ok for me.

The only difference I see between UiPath.Mail.SMTP.Activities.SendMail and ReporterForUiPath.Activities.SendEmailStatus is the parameter Options/SecureConnection.

We have got it in UiPath.Mail.SMTP.Activities.SendMail and It’s possible for me to send email.

And we haven’t got it in ReporterForUiPath.Activities.SendEmailStatus and it’s not possible for me send email.

Is-it possible for you to add this parameter in the package Reporter ?

Thanks in advance.

Vivek Ingole
Posted 4 years ago ago

Okay I'll figure out your problem and come up with solution.

Thanks fro bringing this up.

Until then can you use different domain for sending reports?

Karine GUIBERT
Posted 4 years ago

Hi Vivek,

Thanks for your return.

I'm not using Gmail.

The parameters I have configured in each activity.

Email : karine.guibert@xxxx.fr

Password : *****

Server : 10.166.999.999

Port : 25

OK for SendEmail activity

KO for SendEmailStatut activity

Thanks in advance.

Vivek Ingole
Posted 4 years ago ago

I have used only SMTP protocol to send emails. So please once comfirm that your domain support s SMTP. 

Before that try using this ports : 465 , 587 or 2525

Here are the list of domains

PROVIDER

URL

SMTP SETTINGS

1&1

1and1.com

Smtp.1and1.com

Airmail

Airmail.net

Mail.airmail.net

AOL

Aol.com

Smtp.aol.com

AT&T

Att.net

Outbound.att.net

Bluewin

Bluewin.ch

Smtpauths.bluewin.ch

BT Connect

Btconnect.com

Mail.btconnect.tom

Comcast

Comcast.net

Smtp.comcast.net

Earthlink

Earthlink.net

Smtpauth.earthlink.net

Gmail

Gmail.com

Smtp.gmail.com

Gmx

Gmx.net

Mail.gmx.net

HotPop

Hotpop.com

Mail.hotpop.com

Libero

Libero.it

Mail.libero.it

Lycos

Lycos.com

Smtp.lycos.com

O2

o2.com

Smtp.o2.com

Orange

Orange.net

Smtp.orange.net

Outlook.com (former Hotmail)

Outlook.com

Smtp.live.com

Tin

Tin.it

Mail.tin.it

Tiscali

Tiscali.co.uk

Smtp.tiscali.co.uk

Verizon

Verizon.net

Outgoing.verizon.net

Virgin

Virgin.net

Smtp.virgin.net

Wanadoo

Wanadoo.fr

Smtp.wanadoo.fr

Yahoo

Yahoo.com

Smtp.mail.yahoo.com

Karine GUIBERT
Posted 4 years ago

Hi Vivek,

Thanks for your return.

This is what I do for the configuration.

In fact, when I’m using UiPath.Mail.SMTP.Activities.sendMail « Send SMTP Mail Message » it’s OK

but when I’m using ReporterForUiPath.Activities.SendEMAILStatus « Send Email Status (SMTP) » it’s KO.

Thanks in advance.

Vivek Ingole
Posted 4 years ago ago

Can you share which parameters you have configured in Send Email Status activity?

One more thing, if you are using gmail id then make sure that you have enabled "Less Secure Access" option available in MyAccounts.

Karine GUIBERT
Posted 4 years ago

Hi Vivek,

I am getting an error from Send Email Status Activity.

Error trace :

Source : Send Email Status (SMTP)

Message : Le serveur ne prend pas en charge les connexions sécurisées.

Type d'exception : System.Net.Mail.SmtpException

15:45:51.2348 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [57] Send Email Status (SMTP): Le serveur ne prend pas en charge les connexions sécurisées.

15:45:51.3278 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [1] RemoteException wrapping System.Net.Mail.SmtpException: Le serveur ne prend pas en charge les connexions sécurisées.

à UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)

à System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)

à System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Vivek Ingole
Posted 4 years ago ago

Hi,

Please configure your own sender and host fields i.e. username, password, server and port.

E.g. if you are using gmail id to send the report then configure like this in your "send email status" activity:

Email : demo@gmail.com

Password : *****

Server : smtp.gmail.com

Port : 465 or 587

If you are using another email id like demo@***.com then please configure server and port accordingly.

Let me know if your issue is resolved.

Shravan P
Posted 4 years ago

Is it possible to add condition for Total tests count number in Dashboard for handling test case retry situations ? so that retry count is not added to actual total tests count number.

Vivek Ingole
Posted 4 years ago ago

Hi Shravan,

It is not possible to add such condition to skip any testcase but you can solve your problem by changing your workflow by following way:

Solution - If any one of the testcase needs to be execute in a loop until its successful completion then please put your "StartTest" activity outside the loop. Because until and unless you don't call new "StartTest" activity your current test will not end. 

So first create your test by calling "StartTest" activity then repetitively perform all your actions and after completion of testcase start with new one.

Note : please make sure, same StartTest activity should not execute multiple times while retrying.

Christian Maury
Posted 4 years ago

Is it posible to export in a CSV file the results of the tests?

Vivek Ingole
Posted 4 years ago ago

That feature is not implemented in the current version 2.0, but we will plan to add that feature in upcoming versions.

Thanks For the suggestion.

Aravindh B
Posted 4 years ago

Hi Vivek,

I am getting an error from Send Email Status Activity.

Error trace :

Source: Send Email Status (SMTP)

Message: Failure sending mail.

Exception Type: System.Net.Mail.SmtpException

RemoteException wrapping System.Net.Mail.SmtpException: Failure sending mail. ---> RemoteException wrapping System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.

at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)

at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)

at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)

at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)

at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)

at System.Net.Mail.SmtpClient.GetConnection()

at System.Net.Mail.SmtpClient.Send(MailMessage message)

--- End of inner exception stack trace ---

at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)

at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)

at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Even I configured server and port details for my Gmail Id, Still facing this issue.

Vivek Ingole
Posted 4 years ago ago

Hi Aravindh,

If you are configuring your gmail ID then please don't forget to enable third-party access from your google account settings. 

As google won't allow any other application to use their account directly.

Thanks.

Publisher

Vivek Ingole

Visit publisher's page

License & Privacy

MIT

Privacy Terms

Technical

Version

3.0.1

Updated

May 3, 2023

Works with

Studio: 22.10+

Certification

Silver Certified

Support

UiPath Community Support

Resources