Search found 8 matches

by robert.altman
Wed Sep 13, 2017 6:21 pm
Forum: Bug Reports
Topic: Ranorex 7.0 Startpage Problems
Replies: 23
Views: 6131

Re: Ranorex 7.0 Startpage Problems

Hi, I'm also experiencing this issue. Any link on the start page will not work. The cursor changes on the mouse over, but nothing happens when clicked. I'm running 7.1.1 on Windows 7 Pro. The annoying thing is that the start page is telling me to upgrade from my current version to 7.1.2, yet the lin...
by robert.altman
Mon Mar 06, 2017 3:18 pm
Forum: How To …
Topic: Passing objects from test case to test case
Replies: 15
Views: 5330

Re: Passing objects from test case to test case

Ok, so here's the solution, based on this thread and Ranorex support (thanks guys). I have a class where I declare static variables with a get method. Apparently that's all it took. I was under the impression this couldn't be done, and so I never even gave it a shot. Talk about time wasted. Anyway, ...
by robert.altman
Tue Feb 28, 2017 5:50 pm
Forum: How To …
Topic: Passing objects from test case to test case
Replies: 15
Views: 5330

Re: Passing objects from test case to test case

I use public static variables to pass objects between recordings and I imagine you can do the same between test cases. You just have to declare the static variables on a more global scope then the test cases. I create a Ranorex code module that defines the variables and then references them from my...
by robert.altman
Mon Feb 27, 2017 3:10 pm
Forum: How To …
Topic: Passing objects from test case to test case
Replies: 15
Views: 5330

Re: Passing objects from test case to test case

Thanks again for the reply. The rooted folder may be something for me to try out. We originally had rooted folders, but they presented a problem do to how dynamic the program is and also the fact it's still under dev. The xPaths are changing in a lot of areas with each release of the application. I ...
by robert.altman
Fri Feb 24, 2017 10:35 pm
Forum: How To …
Topic: Passing objects from test case to test case
Replies: 15
Views: 5330

Re: Passing objects from test case to test case

krstcs, Thanks for your answer. I'll have to find out about the snapshot, but the xPaths are very long, to say the least. The application is still under development, so the repo items xPaths can change with each release, which would cause a lot of maintenance of/in the repo. However, Even if I have ...
by robert.altman
Fri Feb 24, 2017 7:34 pm
Forum: How To …
Topic: Passing objects from test case to test case
Replies: 15
Views: 5330

Re: Passing objects from test case to test case

I guess I'm not stating my intention correctly. I have a repo with various containers and elements. When I do this: Container target = repo.Application.target; Mouse.MoveTo(target); Ranorex gets the repo item, and using it's path, finds said item in the application and moves the mouse to it. This ca...
by robert.altman
Fri Feb 24, 2017 3:06 pm
Forum: How To …
Topic: Passing objects from test case to test case
Replies: 15
Views: 5330

Re: Passing objects from test case to test case

Odklizec, Thanks for your reply. I am using the repository, however only to store "views" of our application. It's a WPF application, which leads to there being lots of layers. Think of a "view" as a layer in the application that contains a text box for example. We do not want to add every button an...
by robert.altman
Thu Feb 23, 2017 11:03 pm
Forum: How To …
Topic: Passing objects from test case to test case
Replies: 15
Views: 5330

Passing objects from test case to test case

So I'm trying to pass an object (Container, Text, ComboBox, etc.) from one test case to another. I have, lets say 10 test cases, that need to be separate, but are similar. Let's say they all have a button in common. I don't want to add the button to my repository. I create the button in user code su...