Search found 2683 matches

by krstcs
Mon Nov 12, 2018 3:45 pm
Forum: Object Identification and Technologies
Topic: Unable to identify drop down elements in chrome
Replies: 2
Views: 1752

Re: Unable to identify drop down elements in chrome

Your best bet is to use the method I discussed here: https://www.ranorex.com/forum/viewtopic.php?f=9&t=5127&p=33500&hilit=select+krstcs#p21534 It's key-driven, so it works every time, and it will fire any events that are needed. The SetValue function does not fire events in some situations (it depen...
by krstcs
Mon Nov 12, 2018 3:30 pm
Forum: How To …
Topic: Limiting search depth
Replies: 6
Views: 2099

Re: Limiting search depth

You should not use the "any descendants" vector ("//") unless absolutely necessary because this forces Ranorex to search the whole tree, which takes a lot of time depending on the system/application under test. My suggestion would be to create rooted folders at intermediate levels that are pathed. T...
by krstcs
Tue Nov 06, 2018 3:29 pm
Forum: General Questions
Topic: Test execution not possible: Test execution fatal crash with NullReferenceException
Replies: 13
Views: 1768

Re: Test execution not possible: Test execution fatal crash with NullReferenceException

The Test Suite Library project type compiles to a DLL, so it isn't executable on Windows directly. You need to go into the project's properties and change the output to a Console Application type.
by krstcs
Tue Oct 30, 2018 2:26 pm
Forum: General Questions
Topic: How to handle a particular row and column in a Dynamic Web Table
Replies: 2
Views: 1352

Re: How to handle a particular row and column in a Dynamic Web Table

As Pavel said, it would be helpful if you posted a Ranorex Snapshot of the table. In addition, this is actually one of the times that you probably SHOULD use indexes. For example, to get the last row, you would use: "./tr[-1]". You have already demonstrated that you understand how to get the 2nd and...
by krstcs
Mon Oct 29, 2018 9:25 pm
Forum: Object Identification and Technologies
Topic: Test Application Lockup When Ranorex Tries to Interact with Form Controls
Replies: 3
Views: 1588

Re: Test Application Lockup When Ranorex Tries to Interact with Form Controls

I would suggest the next time you run your test, set the report level to DEBUG. That should catch the actual stacktrace of the exception events. If you will post that stacktrace it will help the Ranorex folks understand the issue a little better. To change a single module's run to debug level report...
by krstcs
Mon Oct 29, 2018 5:31 pm
Forum: General Questions
Topic: Background of the object recognition
Replies: 1
Views: 1125

Re: Background of the object recognition

The "HOW" of several of your questions is likely protected by Ranorex as trade secrets, so don't expect a substantial answer from them on some of those points. Yes, they do use MS UIA and MSAA for Win32. For Java, they hook into Java's automation solutions. I don't use Delphi, so I can't answer that...
by krstcs
Fri Oct 26, 2018 7:49 pm
Forum: General Questions
Topic: Ranorex v8.3.0 Flash in Chrome
Replies: 5
Views: 1062

Re: Ranorex v8.3.0 Flash in Chrome

This is not a Ranorex issue, but a Chrome/Flash issue. It will happen if you uninstall Ranorex, and started with Chrome 69. As I said, there are several solutions, and none of us know the one that is right for you. Please search Google, as there are several (dozens!) of possible fixes, depending on ...
by krstcs
Fri Oct 26, 2018 5:47 pm
Forum: General Questions
Topic: Ranorex v8.3.0 Flash in Chrome
Replies: 5
Views: 1062

Re: Ranorex v8.3.0 Flash in Chrome

Modern versions of Chrome (69+) require that you enable Flash/Flex each time you visit the site and want it to run. This is a Chrome security feature, not a Ranorex issue. In addition, Flash/Flex has been killed off by Adobe and will reach end-of-life in 2020. It should not be used anymore. There is...
by krstcs
Wed Oct 24, 2018 3:24 pm
Forum: How To …
Topic: Ranorex is stripping off $ and add trailing 0s upon import
Replies: 2
Views: 1471

Re: Ranorex is stripping off $ and add trailing 0s upon import

I would highly recommend that you stop using Excel. Use CSV text files instead. They do not have this issue, and as long as you enclose the string in quotes like ("$45,000") (otherwise the comma would be a problem) you will be fine.
by krstcs
Tue Oct 16, 2018 1:56 pm
Forum: Automation Tools
Topic: Server 2016 msbuild errors
Replies: 3
Views: 1876

Re: Server 2016 msbuild errors

You need to install .NET 4.5.2 on the server as Windows Server 2016 comes with 4.6.2 by default. Since there were changes in some of the libraries, your MSBuild can't find the right ones.

You should be able to install it from the server's Add Features option.
by krstcs
Mon Oct 15, 2018 2:38 pm
Forum: Automation API
Topic: Integration of VS Code(open source tool) with Ranorex
Replies: 5
Views: 2422

Re: Integration of VS Code(open source tool) with Ranorex

Since Ranorex is essentially a .NET library, you can link and reference it in your VSCode projects. However, you will be missing/losing several of the most important features that make Ranorex better than just using VS Coded UI Test, such as the Repository and Report generation. You would either hav...
by krstcs
Mon Oct 15, 2018 2:32 pm
Forum: How To …
Topic: How Do I Connect Ranorex Studio 8.3.0 With TFS 2018
Replies: 4
Views: 2708

Re: How Do I Connect Ranorex Studio 8.3.0 With TFS 2018

Also, it is probably best if you DON'T integrate TFS with Ranorex as the TFS integration library, MSSCCI, is VERY SLOW. This is a Microsoft issue, not a Ranorex issue, so there's nothing the Ranorex team can do. It appears the MSSCCI is not being maintained any longer by MS. You're going to be much ...
by krstcs
Mon Oct 15, 2018 2:25 pm
Forum: How To …
Topic: How to run multiple ranorex tests from command line ?
Replies: 4
Views: 2798

Re: How to run multiple ranorex tests from command line ?

If your CI system is passing a list of test cases that need to be run, then you can do a for loop over that list in a batch command with your generic test EXE name like you have it, but parameterize the testcase like "/tc:%%<t>", where "<t>" is the name of your loop variable. See this site for batch...
by krstcs
Fri Oct 12, 2018 7:27 pm
Forum: General Questions
Topic: Urgent: <select option not reporting error on click but clicking to upper left corner of dom (maybe?)
Replies: 7
Views: 1933

Re: Urgent: <select option not reporting error on click but clicking to upper left corner of dom (maybe?)

I would actually encourage the use of keyboard-based actions here as they will work no matter the browser, they will always fire events, and they are relatively robust. I had to do this in a previous position for several drop-downs in different browsers. You can abstract this out into a library and ...
by krstcs
Fri Oct 12, 2018 7:00 pm
Forum: Bug Reports
Topic: Ranorex 8.2.1 Crashes during record
Replies: 1
Views: 1574

Re: Ranorex 8.2.1 Crashes during record

This sounds like a corrupted or bad installation. Please try the following and report the results: 1. Uninstall Ranorex completely from the system. 2. Reboot the system. 3. Reinstall Ranorex using the *.EXE file here: https://www.ranorex.com/download/Ranorex-8.2.1.exe If that does not fix the issue,...