Search found 5 matches

by daniel.maciasperea
Fri Sep 30, 2016 8:16 am
Forum: How To …
Topic: Pass a parameter by reference in UserCode
Replies: 4
Views: 2660

Re: Pass a parameter by reference in UserCode

Thank you very much for your answer krstcs! You are right and maybe for such short piece of code it is not worthly to create a library.
by daniel.maciasperea
Thu Sep 29, 2016 3:58 pm
Forum: How To …
Topic: Pass a parameter by reference in UserCode
Replies: 4
Views: 2660

Re: Pass a parameter by reference in UserCode

Thanks for the answer. Using directly the variable in the code is the solution I was implementing, however I was trying to code something easier to be reused in other Test Cases.
by daniel.maciasperea
Thu Sep 29, 2016 3:18 pm
Forum: How To …
Topic: Pass a parameter by reference in UserCode
Replies: 4
Views: 2660

Pass a parameter by reference in UserCode

Is it possible to pass in a User Code Method a parameter by reference? I have declared in my code the parameter as ref but i cannot find the option in the Argument Editor of Ranorex, so I get a compiler error. public void addTimestampToVendorName(ref var) { var= var.ToString() + "-" + System.DateTim...
by daniel.maciasperea
Tue Jul 12, 2016 11:18 am
Forum: General Questions
Topic: Using CSV and TFS in a Ranorex Project
Replies: 2
Views: 1417

Re: Using CSV and TFS in a Ranorex Project

Hi Odklizec, Thanks for the answer! We have already tested with relative paths, but the option “Copy File to Project” in Manage Data Sources overwrote always the relative path. But now we have used, as you recommended, the property “Copy to output dir - Always” and it is working fine. Regards, Daniel
by daniel.maciasperea
Fri Jul 08, 2016 1:39 pm
Forum: General Questions
Topic: Using CSV and TFS in a Ranorex Project
Replies: 2
Views: 1417

Using CSV and TFS in a Ranorex Project

Hello, I would like to share the problems that my team and I are experimenting working with Ranorex in a Version Controlled Project (with TFS) that uses CSV Files as Datasources just to know if anybody else has had these issues and has found a solution. The problem is that Ranorex references the CSV...