Search found 15 matches

by Sae1962
Mon Apr 30, 2018 3:07 pm
Forum: Automation Tools
Topic: How to traverse through a DOM object with C#?
Replies: 7
Views: 2257

Re: How to traverse through a DOM object with C#?

The dot changed the problem immediately! Now, I find only one element, but there are several accordion-toggle elements on the test page. Currently, seven (7) are visible. And the one element is not an accordion widget.
by Sae1962
Mon Apr 30, 2018 2:50 pm
Forum: Automation Tools
Topic: How to traverse through a DOM object with C#?
Replies: 7
Views: 2257

Re: How to traverse through a DOM object with C#?

No, I use Google Chrome v 66.0.3359.139 (official build) (64 bit) for the current test. I thought first that using something down the ladder from repo.Home may not cause an exception, but the code should run on any page. So, the repo.Home will exist for sure. Yes, I got the System.OutOfMemoryExcepti...
by Sae1962
Mon Apr 30, 2018 2:21 pm
Forum: Automation Tools
Topic: How to traverse through a DOM object with C#?
Replies: 7
Views: 2257

Re: How to traverse through a DOM object with C#?

Thank you for your swift reply, Pavel! I started with the topmost element in repo that I use instead of your dummy called DOMElement . Unfortunately, I get an unjustified System.OutOfMemoryException (see attachements). Perhaps, a better choice for the " DOMElement " would do better. Here is the code...
by Sae1962
Mon Apr 30, 2018 1:07 pm
Forum: Automation Tools
Topic: How to traverse through a DOM object with C#?
Replies: 7
Views: 2257

How to traverse through a DOM object with C#?

I have a Web page where I have to traverse the DOM to find out all elements that have a class that contains "accordion-toggle " . Each such object gets a similar class assigned, when the accordion widget is opened/closed (see attached image). To make an automated black-box test, where all accordions...
by Sae1962
Fri Mar 09, 2018 10:52 am
Forum: Automation Tools
Topic: Open Browser action fails when used with Clear Cache
Replies: 24
Views: 9077

Re: Open Browser action fails when used with Clear Cache

Here is my code. Unfortunately, I do not know how to determine MyRepo at that code location. Therefore, I cannot use exactly your method call.
by Sae1962
Fri Mar 09, 2018 10:35 am
Forum: Automation Tools
Topic: Open Browser action fails when used with Clear Cache
Replies: 24
Views: 9077

Re: Open Browser action fails when used with Clear Cache

Is there any solution for this problem? If you are a Ranorex expert, you may access my PC to see on the premises what happens.
by Sae1962
Wed Mar 07, 2018 2:46 pm
Forum: Automation Tools
Topic: Open Browser action fails when used with Clear Cache
Replies: 24
Views: 9077

Re: Open Browser action fails when used with Clear Cache

Yes, I reset this option after reading this post. I increased the sleep time to 15 seconds. Unfortunately, the access is still denied. :( I think that the OpenBrowser option killExisting is useless for Google Chrome. (I think the best way to find out the reason for this is to give one of the experts...
by Sae1962
Wed Mar 07, 2018 2:33 pm
Forum: Automation Tools
Topic: Open Browser action fails when used with Clear Cache
Replies: 24
Views: 9077

Re: Open Browser action fails when used with Clear Cache

odklizec wrote:And you still getting "Access is denied" error? …
No, I get the "Failed to open URL" error. By the way: I start Ranorex as an administrator. :?
by Sae1962
Wed Mar 07, 2018 2:07 pm
Forum: Automation Tools
Topic: Open Browser action fails when used with Clear Cache
Replies: 24
Views: 9077

Re: Open Browser action fails when used with Clear Cache

You should first use Close Application command … I wrote the following public static void OpenBrowserRecording_Open_browser(string browserName, string ipAddress, int height, int width) { string dimensions = (browserName == BaseCodeCollection.EBrowserType.chrome.ToString()) ? "--window_size=" + widt...
by Sae1962
Wed Mar 07, 2018 1:50 pm
Forum: Automation Tools
Topic: Open Browser action fails when used with Clear Cache
Replies: 24
Views: 9077

Re: Open Browser action fails when used with Clear Cache

…I believe you are experiencing a known " Access is denied " error while using Open Browser action with enabled "kill existing" flag? The solution is to add a small delay after closing browser and before opening new one (with kill existing flag). … Thank you for the reply! I added delays to the cod...
by Sae1962
Wed Mar 07, 2018 1:02 pm
Forum: Automation Tools
Topic: Open Browser action fails when used with Clear Cache
Replies: 24
Views: 9077

Re: Open Browser action fails when used with Clear Cache

Hello! I made the same setting to Google Chrome (v 64.0.3282.186 (official build) (64 bit)), but still have the same problems. When I enter the KillBrowsers flag in OpenBrowser to true , this problem occurs on some iterations, but the iteration number is not always the same; actually, I have six ite...
by Sae1962
Thu Feb 08, 2018 10:24 am
Forum: Bug Reports
Topic: Converting to user code generates wrong code
Replies: 3
Views: 1443

Re: Converting to user code generates wrong code

Sorry for that. You should first add some jobs to your job cart. Only after that, it is possible to open it (i.e. "Öffnen" becomes visible). This is an error in my test case, as the test should first add something to the job cart for the case that it is empty.
by Sae1962
Thu Feb 08, 2018 10:22 am
Forum: Bug Reports
Topic: Ranorex Studio rename error
Replies: 1
Views: 1422

Ranorex Studio rename error

I have a recording that consists of a click only. When I double-click on the one line in the recording, I can see the code corresponding to the code. What I see was the method public void Recording2_Open_browser1 . I selected the method name, pressed the right mouse button & selected "Rename", chang...
by Sae1962
Thu Feb 08, 2018 9:57 am
Forum: Bug Reports
Topic: Bug report rejected with laconic message
Replies: 1
Views: 1650

Bug report rejected with laconic message

A new user cannot enter a bug report that contains a URL. This may or may not be correct – it is a matter of choice. I think that the user should also get the information that the back button goes back to the report. I propose that a [<- Back] button can be added, or a sentence is added that this is...
by Sae1962
Wed Feb 07, 2018 11:47 am
Forum: Bug Reports
Topic: Converting to user code generates wrong code
Replies: 3
Views: 1443

Converting to user code generates wrong code

Hello! I created a recording with Ranorex Studio & a second one by copying the first recording, where both run identically and fine. Converting the second recording to user code creates a semantically wrong code so that the last click incorrect. The error is easily reproducible. Open Ranorex Studio ...