Search found 31 matches

by bygones
Mon Dec 05, 2016 11:40 am
Forum: General Questions
Topic: How to generalise User Code
Replies: 1
Views: 1345

How to generalise User Code

Hi, I have a recording module, where I added a step as "User Code". So this code is now part of the recording module and cannot be used in another recording module, right ? Now another recording module requires this with a different repo item to work on. My user code looks currently like this public...
by bygones
Tue Nov 29, 2016 9:06 am
Forum: General Questions
Topic: The predefined type xxx is in the global alias.... messages
Replies: 5
Views: 4397

Re: The predefined type xxx is in the global alias.... messages

What version of .Net Target Framework and Ranorex are you using? I don't see such error in Ranorex 6.1.1 and Target Framework 4.5.1. Try to update .Net and Ranorex and see if it still happens. BTW, I've recently saw this kind of warning during Ranorex "Combining Automated Functional and Load Testin...
by bygones
Thu Nov 24, 2016 2:57 pm
Forum: General Questions
Topic: The predefined type xxx is in the global alias.... messages
Replies: 5
Views: 4397

The predefined type xxx is in the global alias.... messages

Hi, since newly I have a bunch of warnings in the project I dont know how to address them The predefined type 'System.Runtime.CompilerServices.AsyncStateMachineAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscor...
by bygones
Fri Oct 21, 2016 12:34 pm
Forum: General Questions
Topic: Wildcard in path and user code
Replies: 1
Views: 1421

Wildcard in path and user code

Hi, I have a xpath expression, that matches multiple elements. When adding this into a recording module via "user code", I can retrieve all of them in code via CreateAdapters . How does this work with a code module ? There I can drag in the item from the repo, but I cannot cast it to IList , it seem...
by bygones
Mon Oct 17, 2016 7:49 am
Forum: General Questions
Topic: Passing varible values into repository variables
Replies: 1
Views: 2392

Re: Passing varible values into repository variables

not sure if this is matches your problem, I have a web application, which uses also a variable in the repository as the url to the application might be different in different context. So I have /dom[@domain=$host_server] as root in my repository. On the test suite level I have a global parameter hos...
by bygones
Mon Oct 17, 2016 7:44 am
Forum: General Questions
Topic: How to call a recording module from a code module
Replies: 5
Views: 4786

Re: How to call a recording module from a code module

Hi, I guess by "Folder" you mean a "Test Case"? Because as far as I know, it's not possible to add recording/code modules to a plain folder without enclosing them in a Test Case? the recording modules are in one or more test cases. With folder I mean in the solution view on the upper left hand side...
by bygones
Tue Oct 11, 2016 1:02 pm
Forum: General Questions
Topic: How to call a recording module from a code module
Replies: 5
Views: 4786

How to call a recording module from a code module

Hi, I have a code module, that calls a recording module. As everything was on the same level under the solution, I could simply write in code MyModule.start() . But now I have reorganised my structure and introduced folders, so that the solution is more intuitiv. Before it was Solution |__ MyModule ...
by bygones
Tue Sep 06, 2016 10:02 pm
Forum: General Questions
Topic: Executing Ranorex from Tomcat
Replies: 2
Views: 1163

Re: Executing Ranorex from Tomcat

ah thanks - good to know
by bygones
Tue Sep 06, 2016 1:51 pm
Forum: General Questions
Topic: Finding out the GUID of a test case
Replies: 3
Views: 1333

Re: Finding out the GUID of a test case

for further reference, it is also visible inside Ranorex studio, on right side under Properties
by bygones
Tue Sep 06, 2016 10:56 am
Forum: General Questions
Topic: Executing Ranorex from Tomcat
Replies: 2
Views: 1163

Executing Ranorex from Tomcat

Hi, I hope that some windows experts can help me out here. I have a web application that basically calls Ranorex from command line to execute tests. I deployed the application into tomcat and when starting tomcat on the console, the application works and ranorex is executed. When running tomcat as a...
by bygones
Tue Aug 23, 2016 1:24 pm
Forum: General Questions
Topic: Setup&Teardown blocks not called from command line
Replies: 1
Views: 1265

Setup&Teardown blocks not called from command line

Hi, I have a test suite with multiple test cases and a setup and teardown block. When I select a test case in Ranorex studio and select "Run Selected Test Case" or when I execute it from the command line via /tc:<test case guid> parameter, only the test case itself is executed, no setup and therefor...
by bygones
Tue Aug 23, 2016 12:10 pm
Forum: General Questions
Topic: How to trim a value coming from getValue
Replies: 1
Views: 2637

How to trim a value coming from getValue

Hi, i have a recording in which I use getValue from an element, store it in a variable and then compare this with the text of a later component. Unfortunately the value contains spaces like " text " , and the final component to validate has only "text" Currently I use AttributeRegEx as comparison, w...
by bygones
Mon Aug 22, 2016 7:39 pm
Forum: General Questions
Topic: Redirecting log from command line still creates "normal" log
Replies: 2
Views: 1392

Re: Redirecting log from command line still creates "normal" log

Hi Johannes,

thank you for your answer - I have sent a request to support
by bygones
Fri Aug 19, 2016 12:46 pm
Forum: General Questions
Topic: Finding out the GUID of a test case
Replies: 3
Views: 1333

Re: Finding out the GUID of a test case

thanks - I have found it in the rxtst file
by bygones
Fri Aug 19, 2016 10:06 am
Forum: General Questions
Topic: Redirecting log from command line still creates "normal" log
Replies: 2
Views: 1392

Redirecting log from command line still creates "normal" log

HI, I have the following assumption that the following command will only create a zipped report in the specified path: TestSuite.exe /zr /zrf:reports/%S_%Y%M%D_%T.rxzlog /rl:30 This works in the way, that the report is zipped with the right name in the reports directory, but there is still the rxlog...