Search found 28 matches

by Mike K
Fri Apr 09, 2021 1:14 am
Forum: General Questions
Topic: How to add system date or future date on ui pop up instead of key sequence
Replies: 11
Views: 2218

Re: How to add system date on ui pop up instead of key sequence

Something like this will give you previous date or future date System.DateTime dt = System.DateTime.Today-7; //This would give you last week System.DateTime dt = System.DateTime.Today+7; //Will give you next week It is really up to you to determine how you want to calculate past and future dates. Ch...
by Mike K
Thu Apr 08, 2021 3:27 pm
Forum: Automation Tools
Topic: PDF Reports
Replies: 19
Views: 6463

Re: PDF Reports

Hey there,

Apparently for the PDF report option to work you will need to use the [SETUP] and [TEARDOWN] tags in your test case.

Hope this does the trick!

Cheers,
Mike
by Mike K
Thu Apr 08, 2021 12:36 am
Forum: General Questions
Topic: How to add system date or future date on ui pop up instead of key sequence
Replies: 11
Views: 2218

Re: How to add system date on ui pop up instead of key sequence

Hi there, My apologizes for not explaining this very well but I am glad to hear you were able to easily decipher what I was trying to say :) This code is taking the System.Date value and converting to the format we need and then saves it to a String data type which is what Ranorex needs. //Create a ...
by Mike K
Wed Apr 07, 2021 11:24 pm
Forum: General Questions
Topic: How to add system date or future date on ui pop up instead of key sequence
Replies: 11
Views: 2218

Re: How to add system date on ui pop up instead of key sequence

Hi, If I understand correctly you are looking to auto fill you date selection use system time. To do this we will write a simple coded action to place today's date in the correct format using the code below. public void GetTime() { System.DateTime dt = System.DateTime.Today; string date = String.For...
by Mike K
Wed Apr 07, 2021 1:21 pm
Forum: Automation Tools
Topic: PDF Reports
Replies: 19
Views: 6463

Re: PDF Reports

Hi, Yes, this can be a little bit confusing. It would be better to set the location of the Report folder for all report content. This can be done in the Test Suite Setting panel. Go to 'Reports' tab and the fist option is where you can choose the location of where the report output will be saved. Ch...
by Mike K
Wed Apr 07, 2021 12:44 pm
Forum: Automation Tools
Topic: PDF Reports
Replies: 19
Views: 6463

Re: PDF Reports

HI,

Yes, this can be confusing. The best thing to do is set the output folder directory. This option is located just above where you can change the report file name in. To get here right-click on Test Suite go to 'Report' tab.

Cheers,
Mike
by Mike K
Wed Apr 07, 2021 12:20 pm
Forum: General Questions
Topic: Iterating over rows is very slow
Replies: 2
Views: 925

Re: Iterating over rows is very slow

Hi,

One option you can try is making the RxPath to the table fully qualified so there is less guess work for Ranorex to find it. However, 800ms for 20 rows is not too bad if you consider it takes a person a few seconds longer to scan 20 rows for the right information.

Hope that helps!

Cheers,
Mike
by Mike K
Wed Mar 31, 2021 12:25 pm
Forum: Automation Tools
Topic: PDF Reports
Replies: 19
Views: 6463

Re: PDF Reports

Hello,

Ranorex 9.5 was released and it has a GUI option on the Report tab in Test Suite properties. This make it more convenient to set report to PDF now. Please give this a try and let us know how it goes.

Cheers,
by Mike K
Wed Mar 31, 2021 12:10 pm
Forum: General Questions
Topic: Get itemInfos of list of tags?
Replies: 3
Views: 1083

Re: Get itemInfos of list of tags?

Hi, There is not an option to convert Adapter to RepoItemInfo. It only goes in one direction. In this case where you create a collection of Adapters try using a different approach to Validation where you write the Try/Catch for Pass/Failure on the adapter like in the example below. try{ if (MyAdapte...
by Mike K
Sun Mar 28, 2021 9:20 pm
Forum: General Questions
Topic: Sharing Ranorex report with other persons without Ranorex installation
Replies: 3
Views: 1364

Re: Sharing Ranorex report with other persons without Ranorex installation

Hi, I understand and yes there are 2 solutions. The first is using 'Ranorex Automation Helpers' you will find a Email module that sends the Report by email. Also, the latest version of Ranorex (v9.5) has an option on the Reporting tab option panel to convert the Report to PDF where by allowing the u...
by Mike K
Sun Mar 28, 2021 9:15 pm
Forum: Automation Tools
Topic: Event handling
Replies: 2
Views: 1294

Re: Event handling

Hi Manish, This can be handled in two ways. The first is to convert all the action items to code by selecting all and then using a try/action routine to trap errors. To convert action to code first select the action items then right-click. From the context menu select the convert option. The second ...
by Mike K
Wed Mar 24, 2021 9:29 pm
Forum: Automation Tools
Topic: Ranorex Agent does not recognize all elements
Replies: 4
Views: 1218

Re: Ranorex Agent does not recognize all elements

Hi, For the 2nd machine if you are creating a Snaphot you will want to open Spy from Ranorex Studio and add the GDI option to the container where you need rawtext. Once this done from Settings in Spy click 'GDI capture settings' button on 'General' tab to ensure the Window Class Name was added to th...
by Mike K
Mon Mar 22, 2021 11:01 pm
Forum: Automation API
Topic: Change Key Sequence Speed in existing Recordings
Replies: 1
Views: 1448

Re: Change Key Sequence Speed in existing Recordings

Hi, You won't need to do it for each action. There are two Settings mode, Global and Local. When set at the Global level all new Recordings will get the reduced wait time. However, for existing recordings you can apply the change using the Local settings panel which one can open by clicking the 'SET...
by Mike K
Mon Mar 22, 2021 9:12 pm
Forum: Automation Tools
Topic: Ranorex tests work fine locally but fail on remote machine
Replies: 3
Views: 1405

Re: Ranorex tests work fine locally but fail on remote machine

Hi, I can think of two issue that may cause this. First, confirm you have Ranorex libraries installed on the target machine. If libraries cannot be install there is an option on the first tab in Setting that will copy the libraries with the test executable. This will make the size of the test execut...
by Mike K
Fri Mar 19, 2021 12:22 pm
Forum: Automation Tools
Topic: Ranorex Agent does not recognize all elements
Replies: 4
Views: 1218

Re: Ranorex Agent does not recognize all elements

Hi,

On Machine 1 are you running Ranorex Studio on Admin mode? You may want to run Ranorex as Admin on both machine in case the logged in User on Agent machine is not a local administrator which may be preventing Ranorex full access to the object tree.

Cheers,
Mike