Search found 107 matches

by jma
Wed Nov 08, 2017 1:58 pm
Forum: General Questions
Topic: How fast does Report.screenshot() capture a graphic?
Replies: 4
Views: 1179

Re: How fast does Report.screenshot() capture a graphic?

I would also recommend against automating such a use case because there's probably no robust solution. Concerning the Report.Screenshot- or Validate.ContainsImage-method - I would suggest giving it a try. How long it will take to capture the screenshot could vary slightly. Note that if you pass a sp...
by jma
Wed Nov 08, 2017 11:18 am
Forum: Automation Tools
Topic: Duplication of similar repository items
Replies: 8
Views: 2307

Re: Duplication of similar repository items

If you use the above-mentioned solution of one Rooted Folder with a variablized index, you can easily change the repository variable during runtime. In the sample below, the variable is called "MyIndex". TestRepository repo = TestRepository.Instance; repo.MyIndex=2; More information about repository...
by jma
Tue Oct 03, 2017 9:57 am
Forum: Automation Tools
Topic: Spy Clicks through all buttons on page
Replies: 6
Views: 1681

Re: Spy Clicks through all buttons on page

Hi Devinder, Could you explain in more detail what it means that every item from the application is clicked? Do you mean that the wrong item is clicked or that all items are clicked simultaneously? Probably, it would be helpful to illustrate the issue by creating a screencast (for example with https...
by jma
Wed Sep 13, 2017 1:56 pm
Forum: General Questions
Topic: Private/Public variables
Replies: 3
Views: 1282

Re: Private/Public variables

Hi monkey2012, If all you are doing is reading or writing a value to this variable, it won't make a difference. I would suggest having a look at the following discussions on stackoverflow: https://stackoverflow.com/questions/1961536/why-should-i-use-a-private-variable-in-a-property-accessor https://...
by jma
Mon Sep 11, 2017 12:46 pm
Forum: Automation Tools
Topic: Using WebDriver
Replies: 2
Views: 2036

Re: Using WebDriver

Hi, I would suggest checking the input tag with Ranorex Spy after the test failed on the webdriver endpoint. If the endpoint was enabled, you are able to check the UI structure of the endpoint via Ranorex Spy. Please check if the searched path matches the current path of the web element. If you need...
by jma
Wed Aug 30, 2017 1:10 pm
Forum: Bug Reports
Topic: Failed to register DragDrop Error
Replies: 1
Views: 1788

Re: Failed to register DragDrop Error

Hi, do you start another thread during test execution? I doubt that this issue is related to Ranorex directly. I found the following discussion in the Microsoft forum: https://social.msdn.microsoft.com/Forums/vstudio/en-US/a11cf7bc-64c9-4f8c-9981-39f6c13b95f1/dragdrop-registration-failed?forum=vcgen...
by jma
Mon Aug 28, 2017 10:19 am
Forum: General Questions
Topic: How to capture a mouse hover
Replies: 1
Views: 2868

Re: How to capture a mouse hover

Hi Kris,

If you want to simulate a hover, a Mouse.MoveTo() action should work for you. More information about working with tooltips etc. can be found under the following forum thread: https://www.ranorex.com/forum/mouseover ... t2867.html

I hope that helps!
by jma
Mon Aug 28, 2017 8:45 am
Forum: General Questions
Topic: Open report with IE
Replies: 2
Views: 1685

Re: Open report with IE

Hi SanMan, Yes, this setting needs to be changed for each test suite if a HTML report is needed. The test suite properties are saved so this setting needs to be changed only once. Another way to view to report on machines without having Ranorex installed would be to convert the report to a PDF file ...
by jma
Fri Jul 28, 2017 9:56 am
Forum: General Questions
Topic: How to validate text in a log file
Replies: 1
Views: 1762

Re: How to validate text in a log file

Hi bertrobb, Since Ranorex is based on the .NET framework you can easily implement such a use case. First, please create a user code action which allows you to implement your custom code. In order to read text directly from a file, you will need to use the corresponding methods from the .NET framewo...
by jma
Wed Jul 19, 2017 12:42 pm
Forum: Automation Tools
Topic: Check whether a button is hidden behind another window
Replies: 3
Views: 2566

Re: Check whether a button is hidden behind another window

Hi,

What the Visible-state means in Ranorex was already discussed at stackoverflow: https://stackoverflow.com/questions/379 ... ex-exactly
by jma
Fri Jul 14, 2017 12:44 pm
Forum: Bug Reports
Topic: Same actual and expected value but not match. Help
Replies: 3
Views: 2585

Re: Same actual and expected value but not match. Help

Most probably, the value also contains a space at the end if the value is read from Chrome. But, in IE there's no additional space and the test fails. ValidateRegex.png If this is the case, I would suggest removing the additional space from the expected value and using the Validate - AttributeRegEx ...
by jma
Thu Jul 13, 2017 12:57 pm
Forum: Bug Reports
Topic: Same actual and expected value but not match. Help
Replies: 3
Views: 2585

Re: Same actual and expected value but not match. Help

Hi, First of all, you still use a very old version of Ranorex. Generally, I would suggest updating to the latest version, Ranorex 7.1.0. Please open the corresponding *.rxlog.data file and double-check the actual and the expected value. I assume that one of those values contains an HTML entity, whic...
by jma
Thu Jul 13, 2017 12:49 pm
Forum: How To …
Topic: Adding Basic Auth Header to URL
Replies: 2
Views: 3454

Re: Adding Basic Auth Header to URL

Hi, I guess you refer to basic HTTP authentication? Did you already have a look at stackoverflow? I've never tried to accomplish this, but it should be feasible: https://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters/371918 https://stackoverfl...
by jma
Thu Jun 29, 2017 12:18 pm
Forum: General Questions
Topic: Run tests from cmd
Replies: 1
Views: 1271

Re: Run tests from cmd

Hi,

In order the forum community can help you please also upload a Ranorex Snapshot and a compressed Ranorex Report, which will provide more information about the issue. Please create the Ranorex Snapshot of the problematic element that wasn't found right after the test case failed.
by jma
Fri Jun 16, 2017 11:48 am
Forum: How To …
Topic: How to develop cross browser tests using image validation
Replies: 1
Views: 1875

Re: How to develop cross browser tests using image validation

Hello floolf, Generally, I would recommend using image based validation only if there's no viable alternative. If you perform image based validation on remote machines, you have to make sure that color and resolution settings are the same as on the machine you made the test/recording on. Maybe there...