C# Customization
Posted: Tue Nov 27, 2012 4:22 pm
I am evaluating Ranorex in order to automate the retrieval of some reports and report data from a Flex-based application. By using the recording option, I have been able to produce one of the reports (using multiple selections of different controls on the application) and save it as a PDF file on the test machine. What I need to do next - hopefully using the same executable produced by Ranorex - is to email the saved PDF file to multiple users.
I have already seen that you have some code samples to email test results and so on. I'm just wondering if these same samples can be modified and additional C# code added to the end of the test run in order to email the report.
I guess a more general question is: Can I add C# code that is unrelated to the Ranorex APIs and to the test per se to the end of the C# code generated by Ranorex. The ultimate goal is to use the Ranorex recording and C# API to first produce the report and then to add custom code to deliver it to users, all in the same executable that Ranorex creates. A related concern is where this code would go in terms of the Ranorex-created code.
I have already seen that you have some code samples to email test results and so on. I'm just wondering if these same samples can be modified and additional C# code added to the end of the test run in order to email the report.
I guess a more general question is: Can I add C# code that is unrelated to the Ranorex APIs and to the test per se to the end of the C# code generated by Ranorex. The ultimate goal is to use the Ranorex recording and C# API to first produce the report and then to add custom code to deliver it to users, all in the same executable that Ranorex creates. A related concern is where this code would go in terms of the Ranorex-created code.