Hot answers tagged

4

I've been using Ranorex for web automation testing purposes for 3+ years now, and I can say it's the best UI automation tool I've used so far. The application under test is a fairly huge site, where the end users can create individual accounts, but also enterprise ones that, depending on the account type, have a LOT of options that can be tweaked, ...


4

My personal opinions, please take them with a grain of salt. TestComplete vs Ranorex: Key differences: User interface Ranorex has object mapping and test steps displayed on the same page. TestComplete has object mapping and test steps on different pages. Test execution Ranorex moves around mouse cursor in a more realistic way, e.g. you can see mouse ...


3

Even when Ranorex does not recognise an attribute or list it in Ranorex spy, you can still use this attribute to identify your element. As shown below, say, the element you want to identify is high lighted in blue, click on Edit in Spy. You should get a Element Browser window pops out, edit this element's expression to look for your aria-label attribute. /...


3

I don't have an official answer, but the difference is mainly in 2 things: continuation of the Ranorex test script the number of events fired Conclusion: Click() is closer to real user interaction, Press() is faster and more robust as long as it is sufficient for your automation. Regarding 1., I have observed: Click() immediately continues the Ranorex ...


2

Telerik's Test Studio is also a good tool and will provide you required support and features. You can use this tool for testing Web, Mobile, Desktop (but only WPF) applications. test Complete is also a good tool which will suffice your requirements (advantage is it supports more variety of Desktop applications). Again, cost wise Test Studio is cheaper than ...


2

Maybe the test playback does not wait long enough for the element to appear, but as you do not give a lot of info about what your are testing and how its a bit of guessing work. I would read up on how to wait for elements with Ranorex: http://www.ranorex.com/support/user-guide-20/test-automation-code-examples.html#c3197


2

I'm astonished that Ranorex support told me that this is not possible, because here's how: If you have not converted the recording into user code yet, you can change the settings like this: Open the recording in Ranorex Studio Click Settings... Go to tab "Current Recording" Uncheck "Use item logging by default" Click "Ok" Convert your recording to user ...


2

CodedUI seems to be the only solution. Because Coded UI is the new testing framework from Microsoft so,it will 100% support the visual studio too. And; support SAP-No idea support Java applications-Yes support Browsers (Firefox and IE at least)-Yes support C# Winforms and WPF-Yes support Win32 applications-Yes So because of above explanations i think ...


2

Yes you can, First you need to start Appium session with override flag + New command Timeout as much as possible. Execute the suite using Ranorex test suite, in the middle of the session, perform actions with the help of Appium and again pass on the control to Ranorex. Helpful keys in Appium for this are: Override flag Timeout flag


2

Have a look at the user guide Lesson 3: Data-Driven Testing. This lesson explains how to create variables in recording modules. The Section Combining Variables with Test Data covers the part on how to connect those variables with data e.g. from an Excel file. Since you want to connect data with a code module instead of a recording module, have a look at ...


2

The problem is that you have defined multiple classes in the same file. When starting the test, Ranorex tries to run the class in which the cursor is currently located. If there's only one class per file, the cursor will always be in the test class and the test class can be converted to ITestModule. With multiple classes per file, the cursor might be ...


2

Sure there is you can use xpath wih logical OR and have all transaltions inside the XPath expression. For example you can use /form/button[@text="Login" or @text="Eingeben" or @text="შესვლის"] 3rd is Georgian :c). Risk of choosing different functionality due to translation, is very low. Update: using the contains(A,B) can move it to higher level. ...


2

I have used Ranorex on a Very large web app in the past. Functionally there is nothing (that i found) that would mean it wasnt able to scale. As always, how you organise your tests will be your main impediment, not the app/framework itself.


2

A very interesting question. I do not think there is a specific button in Ranorex that is called "Memory leak detection". Detecting memory leak is a rather complex procedure that involves: Produce a string of re-producible actions that may cause memory leak Observe if the system memory depletes over time Gradually remove one factor at a time to isolate ...


2

Ranorex has its own set of methods, for examples: If you are looking for an array of <div> elements, you need to: WebDocument webDocument = "/dom[@caption = title of the webpage under test]"; IList <DivTag> array = webDocument.Find<DivTag>(xpath); They are comparable to: driver = Selenium.Chrome(); array = driver.FindElementsByXpath(); ...


1

Ranorex is a Windows only application thus you cannot install it on Linux or macOS. You could install Windows in a virtual machine, for example with VirtualBox and the free 90 day testing images of Microsoft. Now you can install Ranorex in the virtual machine.


1

Ranorex isn't compatible with C# 6.0 or 7.0, as noted in their forums. One user mentioned that "there's nothing in C# 6/7 that you really have to have for writing Ranorex tests. There are lots of nice things, but they aren't necessary", and so OP had to re-write the code to be compatible with 5.0 or below. Hope this helps - although I appreciate it's ...


1

It might be a long shot, but can you please try removing all of your underscores from your method name? ClickOnNewButton Ranorex has a quirk that occasionally forces you to play with method names, there is nothing wrong with your naming, it is Ranorex's problem. Hope it helps.


1

It depends on how much impact changing the system dates/time has on your work. As you mentioned in your question, I assume that the dates and execution spans in the report will get mixed up inevitably. Personally, I do not see it as a major impact as you can easily generate your report after you undo the changes you have made to your system dates/time. ...


1

You can provide a workaround. Go to your xxxx.rxtst foler Add a user code module as the last step to your test In this newly added code module, add a line, Console.Read(), which will force this command window to stay open indefinitely. Please remember it is a workaround and please take this out of your production code.


1

I recommend to not implement the test suite in Ranorex again. The simple reason: from a watcher perspective, both automation tools will perform the same actions, if everything goes well. Instead, make a qualitative analysis of Ranorex' pros and cons compared to TestComplete. A search for "TestComplete vs Ranorex" will probably bring up some search results. ...


1

My personal recommendation is: Simply copy and paste (not in a literal sense) your test cases from testComplete to Ranorex. Yes there will be some re-coding, but your algorithms stay the same; it should not be a lengthy task. Are your test cases data-driven? If they are, you can re-use your existing test data from testComplete for Ranorex as well. In front ...


1

I have found a solution via reflection. public static class RanorexExtensions { /// <summary> /// Creates an adapter for the associated repository item /// as defined in the repository. /// /// If you know the adapter type, or want to use a different /// one, you can use <see cref="FindAdapter{T}" /> instead. /// &...


1

We were testing some memory leaks with the ranorex on eclipse based application with sleak. Basically we were running few steps over and over and sometimes checked the sleak, if there are any uncleaned handles or other resources. Ranorex can help you do the boring repeating part, but you must know how to identify the memory leaks. And that is technology ...


1

In recordings, you often have KeySequences. For those, you have the following options: merge KeySequences that have been split into different steps. You can change the split time in Settings/Recorder Defaults. reduce the duration of the KeySequence (in step properties) reduce the delay before pressing KeySequences (in Settings/Advanced) If your application ...


1

Short: there's no solution. The .rxtmg file is not a single module group, it's a module groups file. The association of modules into module groups is done in that file. Unfortunately, that's a 2 level hierarchy only and is not a real tree. There cannot be more than one such file per project, so there's typically no need to move it into a subdirectory.


1

Ranorex Studio is actually a customized version of SharpDevelop. There is a list of 3rd party SharpDevelop Plugins. Since not even a single of our plugins is listed (and ReSharper is very popular, so someone must have noticed), it seems that the plugin API between SharpDevelop and Visual Studio is not compatible.


1

Using text values to identify elements is not good practice for this very reason. (And because the text may be changed later in the development life cycle of your product) The best way to solve this is to get your developers to assign a unique identifier to the control. The exact property to set will depend on platform/UI library. On Windows you might use ...


1

I would suggest the following approach Decide on the features that are generally available on all e commerce websites (Like a e cart). Decide a few functionalities that will be common across all e commerce websites.(Add and Delete from the cart). Define how will your application recognise how to perform those specific functions on the website - Deploy hooks....


1

Check if the file exists and if it doesn't exist create it. If it does exist then use the same code you have to modify it. public void Driver(int row , int col, string time, string sheetName){ string sDataFile = "Ranorex_Reports.xls"; string sFilePath = Path.GetFullPath(sDataFile); string sOldvalue = "Vopak_Automation\\bin\\Debug\\" + ...


Only top voted, non community-wiki answers of a minimum length are eligible