Not quite sure what it is looking for here. It has 5 unbound variables, I added a path and filename, but it doesn't report to either and it complains of unbound variables for the others. If I auto create and auto bind, it says:
Failed to set value '' to variable 'DeleteRanorexReport'.
So what values is it looking for? Why is it not posting the report to the path specified? I am not seeing much in the users guide as to what it is looking for with these variables.
ReportToPDFModule variables
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Re: ReportToPDFModule variables
I have set $ReportDestinationPath = 'c:\ESI\Reports\'
And added a copy to ReportTpPDFModule
File.Copy(pdfReportFilePath, Path.Combine(ReportDestinationPath,fileName));
This copies the PDF file to the ReportDestinationPath specified in the variable.
I still get warnings the other variables are not bound, but I am still unclear as to what they are looking to be bound to.
And added a copy to ReportTpPDFModule
File.Copy(pdfReportFilePath, Path.Combine(ReportDestinationPath,fileName));
This copies the PDF file to the ReportDestinationPath specified in the variable.
I still get warnings the other variables are not bound, but I am still unclear as to what they are looking to be bound to.
Re: ReportToPDFModule variables
Hi,
on your first post, you receive this error because of a wrong parameter value.
I would recommend using the auto created parameters and module variables.
In my attached picture you can see, which values have to be set, to create a PDF report with a customized file name and directory path.
Afterwards, you shouldn't get any warnings.
regards,
on your first post, you receive this error because of a wrong parameter value.
I would recommend using the auto created parameters and module variables.
In my attached picture you can see, which values have to be set, to create a PDF report with a customized file name and directory path.
Afterwards, you shouldn't get any warnings.
regards,
You do not have the required permissions to view the files attached to this post.
Re: ReportToPDFModule variables
We are now using the Ranorex.PDF.dll File for the PDF-Report-Generation. Hopefully this dll will work with further Ranorex-Versions.
Whitelisting this file is not likely to happen since we test within our standard client configuration, which is deployed for >10k Windows Desktops.
Yesterday we had the Ranorex Foundation Level Training and one of my collegues wanted to send his Ranorex-Test-Solution via Gmail. Sadly even Gmail detects the Ranorex.PDF.exe inside a ZIP as a Virus.
Maybe you find a solution for a variarity of costumers since a Filename .PDF.exe is likely to be detected by a range of anti-virus mechanisms?
Thanks
MyColes
Whitelisting this file is not likely to happen since we test within our standard client configuration, which is deployed for >10k Windows Desktops.
Yesterday we had the Ranorex Foundation Level Training and one of my collegues wanted to send his Ranorex-Test-Solution via Gmail. Sadly even Gmail detects the Ranorex.PDF.exe inside a ZIP as a Virus.
Maybe you find a solution for a variarity of costumers since a Filename .PDF.exe is likely to be detected by a range of anti-virus mechanisms?
Thanks
MyColes
Last edited by weklein on Sat Dec 28, 2019 4:36 pm, edited 1 time in total.
Re: ReportToPDFModule variables
I don't think there is any way around the anti-virus besides whitelisting or disabling it. You could also head over to the User Voice platform and leave a feature request, which is helpful to everyone.
-mayo
-mayo
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Re: ReportToPDFModule variables
Ok, so I seem to be missing one of the variables now and I can't seem to recover it.
The Parameter ReportDestinationPath no longer has a variable. Did something change in the Automation Helpers?
The Parameter ReportDestinationPath no longer has a variable. Did something change in the Automation Helpers?