Search found 35 matches

by kOoO
Tue Sep 05, 2023 11:51 am
Forum: General Questions
Topic: Cached web elements do not re-cache
Replies: 6
Views: 6615

Re: Cached web elements do not re-cache

In our case, the caching has a huge performance impact, since the HTML document is really complex and constantly finding the elements by their absolute paths is a no go. It's also a bit too dynamic for the id attribute to be used. So my current workaround is to cache at least the most critical eleme...
by kOoO
Thu Aug 31, 2023 8:39 pm
Forum: General Questions
Topic: Cached web elements do not re-cache
Replies: 6
Views: 6615

Re: Cached web elements do not re-cache

(just to add more details, since updating post and adding new attachment doesn't work)

Repository screenshot ("Header" item is cached):
2023-08-31 21_37_34-Window.png
Recording with embeded repository:
Recording2.zip
by kOoO
Thu Aug 31, 2023 8:31 pm
Forum: General Questions
Topic: Cached web elements do not re-cache
Replies: 6
Views: 6615

Re: Cached web elements do not re-cache

To better show my concern about this issue, I am attaching an actual example. Please see the attached "Recording2" recording, that tests the caching capabilities using ranorex.com website. To reproduce this issue, adding recording to solution and playing it in standalone mode should be enough. It ut...
by kOoO
Wed Aug 30, 2023 10:16 am
Forum: General Questions
Topic: Unit Testing UserCode
Replies: 2
Views: 1887

Re: Unit Testing UserCode

Not sure if I understand your problem, but this is how I have used dynamic connectors before. CsvDataConnector cdc= new CsvDataConnector( "name", @"C:\file.csv", true ); DataCache cache = new DataCache(cdc); cache.Load(); TestSuite.Current.GetTestContainer("xxx").DataContext.Source = cache; However ...
by kOoO
Mon Aug 28, 2023 8:38 pm
Forum: General Questions
Topic: Ranorex 10.7.0 with chrome extension 1.3.1
Replies: 6
Views: 6420

Re: Ranorex 10.7.0 with chrome extension 1.3.1

Have been trying to make this work for a week, but still no luck. I have manually installed the chrome extension 1.3.1 (egdlgaljianpgdlmfijpphbadibfncdm) + have Ranorex Studio 10.7.2. However when I check "Errors" section of that browser extension, I can see the error "Unchecked runtime.lastError: A...
by kOoO
Mon Aug 28, 2023 8:13 pm
Forum: General Questions
Topic: Cached web elements do not re-cache
Replies: 6
Views: 6615

Cached web elements do not re-cache

Hello, I have noticed a weird behavior about how element cache works on Ranorex 10.7.2 (and possibly older). Let's take this example. My recording is: 1. open browser 2. click on web element #1 (folder of this element is cached) 3. close browser 4. open browser 5. click on web element #1 6. click on...
by kOoO
Fri Nov 12, 2021 1:08 pm
Forum: General Questions
Topic: Licencing problem - downgrade from 10 to 9
Replies: 4
Views: 978

Re: Licencing problem - downgrade from 10 to 9

Sure, but if there was for example just a warning after clicking the "upgrade" button about missing license for the new version, it would still have the reminding/forcing effect and be correct at the same time ;) This way, user is just forced to manually review any licensing info before each upgrade...
by kOoO
Fri Nov 12, 2021 12:24 pm
Forum: General Questions
Topic: Licencing problem - downgrade from 10 to 9
Replies: 4
Views: 978

Re: Licencing problem - downgrade from 10 to 9

Yup, maintenance date is lower, so that's probably the answer. I thought I had 9.5.3 before, but it was 9.3.4 and that one is working now. Thanks. It's a pity that the note on archive download page "Note: If you have a Ranorex license with a valid Subscription, you can use your existing license key ...
by kOoO
Fri Nov 12, 2021 10:47 am
Forum: General Questions
Topic: Licencing problem - downgrade from 10 to 9
Replies: 4
Views: 978

Licencing problem - downgrade from 10 to 9

Hello, I have tried to upgrade Ranorex from 9.5.3 to 10.X, but then I found out that my licence works only for 9.X, so I uninstalled 10.X and installed 9.5.3 back. But now the 9.5.3 is not working either - it still says, that there are not suitable licenses on "The License Manager" server. It works ...
by kOoO
Tue Mar 02, 2021 2:09 pm
Forum: General Questions
Topic: UI elements cannot be identified correctly (Windows Form)
Replies: 6
Views: 1618

Re: UI elements cannot be identified correctly (Windows Form)

I see ... I have tried the same and got the same results. rx.png I have set AccessibleName of the first two MenuItems manually in code and didn't touch the third one. In Ranorex, the first two MenuItems has the AccessibleName that I have set and the third one's AccessibleName is the default Text val...
by kOoO
Sat Feb 27, 2021 5:52 am
Forum: General Questions
Topic: UI elements cannot be identified correctly (Windows Form)
Replies: 6
Views: 1618

Re: UI elements cannot be identified correctly (Windows Form)

So there are two states. First state (from which snapshot is taken?), before you change the menuitem text through the application. In this state, the MenuItem has these attributes: AccessibleName="Edit" Text="Edit" In this state you track the element using Ranorex and it creates repo item with ".../...
by kOoO
Wed Feb 24, 2021 2:02 pm
Forum: Object Identification and Technologies
Topic: RX path - get by WinForm elem name
Replies: 3
Views: 1447

Re: RX path - get by WinForm elem name

Hi, there is no snapshot and no problematic element. This is more like general question about technology specific object identification. I will try to give better example: I want to select a element that can be either a "Button" or a "Form". So, I want to write a RX path, that would look something l...
by kOoO
Tue Feb 23, 2021 3:34 pm
Forum: Object Identification and Technologies
Topic: RX path - get by WinForm elem name
Replies: 3
Views: 1447

RX path - get by WinForm elem name

Hi, In web environment, you can get element name using "tagname" like this: tag[@tagname='table' or @tagname='div'] What is the equivalent for WinForms elements? For example I have a "text" element with rxpath "text" and want to rewrite rxpath as *[@someattr='text']. I just can't find the correct at...
by kOoO
Fri Oct 09, 2020 2:35 pm
Forum: General Questions
Topic: Failed to get ElementRectangle property from FlavorElement with flavor 'wpf'.
Replies: 1
Views: 1135

Failed to get ElementRectangle property from FlavorElement with flavor 'wpf'.

Hello, I am trying to select and work with a WPF treeitem, but most of the time I am getting a "Failed to get ElementRectangle property from FlavorElement with flavor 'wpf'. Invocation did not finish within the timeout of '00:03:00'. " error. Actually it's not an error, it's loged with Debug severit...
by kOoO
Thu Jul 09, 2020 5:02 pm
Forum: General Questions
Topic: Parameters of module called from another module in report
Replies: 4
Views: 1202

Re: Parameters of module called from another module in report

As I said earlier, the modules are run conditionally and I can't put conditions inside group module. Next bad thing is group modules cant be nested. It either has to be coded or put inside the testsuite where conditions can be made, but cant be reused. I dont know other way, so the code module is on...