Search found 34 matches

by felixk91
Fri May 06, 2022 2:57 am
Forum: General Questions
Topic: Variable use in test.UserCode.cs
Replies: 5
Views: 780

Re: Variable use in test.UserCode.cs

Hi odklizec, Here is the full code for ScriptTestingRun.UserCode.cs: /////////////////////////////////////////////////////////////////////////////// // // This file was automatically generated by RANOREX. // Your custom recording code should go in this file. // The designer will only add methods to ...
by felixk91
Thu May 05, 2022 1:59 am
Forum: General Questions
Topic: Variable use in test.UserCode.cs
Replies: 5
Views: 780

Re: Variable use in test.UserCode.cs

Hi odklizec, Thank you for your reply. I tried it and I am getting the following error message: "An object reference is required for the non-static field, method, or property 'ScriptTestingRun.LoadDescriptions' (CS0120)". I am using this variable within the call back function for popup watcher. Any ...
by felixk91
Wed May 04, 2022 8:25 am
Forum: General Questions
Topic: Variable use in test.UserCode.cs
Replies: 5
Views: 780

Variable use in test.UserCode.cs

Hi Everyone, I created a variable that I want to use during the test case run. I have the files test.cs and test.usercode.cs for my "recording" module. The test.cs is looked be Ranorex. How can I use this variable within the user code file test.usercode.cs? I tried to read almost all forums in regar...
by felixk91
Fri Apr 29, 2022 2:36 am
Forum: General Questions
Topic: Can't get what is wrong
Replies: 3
Views: 881

Re: Can't get what is wrong

Hi Guys,

Thank you for giving me some clue.

Thanks,
Felix.
by felixk91
Thu Apr 28, 2022 3:23 am
Forum: General Questions
Topic: Can't get what is wrong
Replies: 3
Views: 881

Can't get what is wrong

Hi everyone, I got the following functions within the user code: This is the first function: public static PopupWatcher StartDialogPopupWatcher(RepoItemInfo findElement) { CheckArgumentNotNull(findElement, "findElement"); var key = findElement.GetMetaInfos()["id"]; if (watchers.ContainsKey(key)) { t...
by felixk91
Thu Apr 14, 2022 1:32 am
Forum: General Questions
Topic: Function does not appears in the library list
Replies: 3
Views: 668

Re: Function does not appears in the library list

Hi doke, This code is part of the user code of the module. Here is the full code collection: /////////////////////////////////////////////////////////////////////////////// // // This file was automatically generated by RANOREX. // Your custom recording code should go in this file. // The designer w...
by felixk91
Wed Apr 13, 2022 3:41 am
Forum: General Questions
Topic: Function does not appears in the library list
Replies: 3
Views: 668

Function does not appears in the library list

Hi everyone, I got two functions: /// <summary> /// Function to start PopupWatcher for Load Area Values dialog and perform values setup /// Parameters: /// findElement = repository representstion of a dialog to look after /// callBackFunction = function that performs required steps for a dilog /// <...
by felixk91
Fri Mar 04, 2022 2:28 am
Forum: General Questions
Topic: Rename root namespace
Replies: 4
Views: 562

Re: Rename root namespace

Hi odklizec,

Thank you for your help.
I used Notepad++ to edit it and it works for me.

Thanks,
Felix.
by felixk91
Thu Mar 03, 2022 10:53 am
Forum: General Questions
Topic: Rename root namespace
Replies: 4
Views: 562

Re: Rename root namespace

Hi odklizec,

Thank you for the suggestion.
Do you know will the Search and Replace tool in Ranorex update the namespace in locked files?

Thank you,
Felix.
by felixk91
Thu Mar 03, 2022 10:36 am
Forum: General Questions
Topic: Rename root namespace
Replies: 4
Views: 562

Rename root namespace

Hi Everyone, I would like to rename the root namespace for the whole solution. First of all, is it possible to rename the root namespace? If yes, could someone suggest to me how to do it most easily? In VisualStudio, I am using Resharper to edit such things. Can you suggest something similar for Ran...
by felixk91
Wed Dec 08, 2021 8:42 am
Forum: General Questions
Topic: How to include command line output into the Ranorex report?
Replies: 1
Views: 813

How to include command line output into the Ranorex report?

Hi everyone,

I got a module that during its run starts a command-line application. This app provides some output to the command line and I want to add this output as part of the Ranorex report. While it runs I can see this output in the command-line window.

Thank you,
Felix.
by felixk91
Mon Nov 01, 2021 12:13 am
Forum: General Questions
Topic: Problem with CMD call
Replies: 4
Views: 873

Re: Problem with CMD call

Hi odklizec,

Is it possible to wait for the closing process that has been started by CMD?

Thank you,
Felix.
by felixk91
Fri Oct 29, 2021 3:25 am
Forum: General Questions
Topic: Problem with CMD call
Replies: 4
Views: 873

Re: Problem with CMD call

Hi odklizec, Thank you for your reply. Yes, the CMD starts another app, which interacts with the AUT, already started by Ranorex. And here is the problem. I need Ranorex to interact with popups while the app started by CMD is running. Any suggestions on how it is possible to handle will be much appr...
by felixk91
Thu Oct 28, 2021 8:22 am
Forum: General Questions
Topic: Problem with CMD call
Replies: 4
Views: 873

Problem with CMD call

Hi everyone, I have an application that I should start from the command line (CMD). This app runs some kind of unit tests within the application that I am testing. During the run, I have to handle dialogues that are part of the functionality. I tried to run a unit test app from Ranorex but it was un...
by felixk91
Fri May 08, 2020 9:51 am
Forum: General Questions
Topic: How can I pause test for PopupWhatcher to finish?
Replies: 4
Views: 1047

Re: How can I pause test for PopupWhatcher to finish?

Hi odklizec,

Thank you for tips.
Felix.