Search found 18 matches

by KJG
Tue Mar 22, 2022 4:25 pm
Forum: Automation Tools
Topic: Azure Devops Ranorex reports can't be shown
Replies: 1
Views: 893

Re: Azure Devops Ranorex reports can't be shown

In case anyone has an answer, may I supply further information. I have produced a project which runs fine. It is in the Devops projects folder and I wanted to add it to source control. Before I add to GIT, the ranorex reports worked ok. Now I have added the project to git and it is appearing in my D...
by KJG
Mon Mar 21, 2022 4:20 pm
Forum: Automation Tools
Topic: Azure Devops Ranorex reports can't be shown
Replies: 1
Views: 893

Azure Devops Ranorex reports can't be shown

I am a nooby with Devops. I have set up a simple Rx test suite with one recording and it runs under the devops CI pipeline ok but ... If I run the test suite from Rx studio I get errors instead of the report as follows: - The data file (Recording1_20220321_142735.rxlog.data) or transformation cannot...
by KJG
Fri Jul 16, 2021 3:56 pm
Forum: Automation Tools
Topic: Agent FileLoadException after upgrade
Replies: 2
Views: 1085

Re: Agent FileLoadException after upgrade

Thank you so much. I had assumed it was going to automatically rebuild when it detected the new Rx Version. I have rebuilt the solution and all is working really well.
These agents are great!
Thanks for the help.

Kevin
by KJG
Fri Jul 16, 2021 7:53 am
Forum: Automation Tools
Topic: Agent FileLoadException after upgrade
Replies: 2
Views: 1085

Agent FileLoadException after upgrade

I am not sure my last post was sent so here is a summary of my problem... again :oops: I have had an agent and ranorex running under version 9.3.3 and have upgraded both agent and studio to 9.3.4. Now when I select the project suite which I had built in 9.3.3 and ask the agent to run it I get an exc...
by KJG
Mon May 24, 2021 10:00 am
Forum: Object Identification and Technologies
Topic: Using System.windows.forms.tablelayoutPanel in usercode
Replies: 4
Views: 1521

Re: Using System.windows.forms.tablelayoutPanel in usercode

Apologies for not deleting the other post. Completely slipped my mind. Done now. I have attached a snapshot of the TablePanelLayout. The basic requirement is to be able to get a control according to it column and row in the table (regardless of type) and click in the centre of the control or the tab...
by KJG
Sun May 23, 2021 6:10 pm
Forum: Object Identification and Technologies
Topic: Using System.windows.forms.tablelayoutPanel in usercode
Replies: 4
Views: 1521

Re: Using System.windows.forms.tablelayoutPanel in usercode

Just to add to this ... Here is my usercode attempt ... public void SetRowAndColumn(int Row, int Column, Adapter Table) { ProjectRepository myRepo = ProjectRepository.Instance; CheckBox myCheckBox = ((SystemWindows.Forms..TableLayoutPanel)myRepo.ConnectionForm.DesignerPanel.Table).GetControlFromPosi...
by KJG
Sun May 23, 2021 5:50 pm
Forum: Object Identification and Technologies
Topic: Using System.windows.forms.tablelayoutPanel in usercode
Replies: 4
Views: 1521

Using System.windows.forms.tablelayoutPanel in usercode

Sirs, I have a table that has been given me by the developers. In Rx Spy I have a definition of container[@controltype='System.Windows.Forms.TableLayoutPanel'] In my user code I want to find out how many rows are in the table (it is populated from a DB) and click the control at (column, row). When I...
by KJG
Wed Oct 03, 2018 12:31 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

thanks for your help. I think I have this working now by putting the code into a user code collection. I can then access this from where I need it. This still means I have to find all the references to my existing usercode but that is just a bit of a repetitive but simple job. So I am still confused...
by KJG
Wed Sep 05, 2018 3:47 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

Ah - I found the problem. I was mapping the actual variable in my recording e.g. UserCode SetVarTo() $MyVar NewValue Whereas this sub actually takes the name, not the variable - I should have read this more carefully. So this works ... UserCode SetVarTo() MyVar NewValue Yippee! Thanks for all your h...
by KJG
Tue Sep 04, 2018 3:05 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

I tried with this code where gettype is not in [] and with it in [].
by KJG
Tue Sep 04, 2018 12:21 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

OK, I think this maybe closer but ... I defined the user code collection and the sub as <UserCodeCollection()> _ Public Class GenericUserCodeCollection ' You can use the "Insert New User Code Method" functionality from the context menu, ' to add a new method with the attribute [UserCodeMethod]. ''' ...
by KJG
Wed Aug 29, 2018 3:19 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

yes. That is what I used to be able to do... GenericuserCode.vb contained SetVariableTo(ByRef Variable as String, NewValue as String) In each recording where I want to use SetVariableTo, I would add "inherits GenericUserCode" e.g. Public Partial Class TCMSDynamicsGlobalConfigAdd inherits GenericUser...
by KJG
Tue Aug 28, 2018 5:15 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

it used to be so easy with a separate generic code module usable by all my recordings which contained Sub SetVariableTo(Byref Variable as String, NewValue as String) Now I cannot use this in a separate code module as I get the ByRef removed. I wish I had not upgraded at the moment. I do hope we can ...
by KJG
Tue Aug 28, 2018 12:41 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

Oh - so I was missing something pretty obvious. However, I still have one problem ... I really want the SetVariableTo function / Sub to be in a separate UserCodeCollection. I have put the code in there ... [UserCodeCollection] public class UserCodeCollection1 { // You can use the "Insert New User Co...
by KJG
Mon Aug 20, 2018 2:37 pm
Forum: Automation API
Topic: Removal of ByRef when creating using code causes a problem
Replies: 17
Views: 3938

Re: Removal of ByRef when creating using code causes a problem

Almost there but ... this sets a module variable not a repository variable. Let me give a further example... I have a repository item representing a list and I want to e able to select individual elements within this list from within one recording . I can get a single element from the list using spy...