Search found 324 matches

by RobinHood42
Mon Jul 13, 2020 8:47 am
Forum: How To …
Topic: Re-using a repository
Replies: 2
Views: 1810

Re: Re-using a repository

Hi,

you can create a "normal" ranorex test suite project (no DLL) for your shared repository. You can then add the project as a reference to your other projects and use the repository as a linked repositroy. This might fit your needs.

Cheers,
Robin
by RobinHood42
Mon Jul 13, 2020 8:22 am
Forum: General Questions
Topic: A way to trigger execution from testrail
Replies: 1
Views: 980

Re: A way to trigger execution from testrail

Hello,

No, it's not possible to trigger Ranorex tests from test rail.

Best,
Robin
by RobinHood42
Mon Jul 13, 2020 8:20 am
Forum: Automation Tools
Topic: ReportToPDF causes an error "sometimes"
Replies: 2
Views: 1276

Re: ReportToPDF causes an error "sometimes"

Hi,

Updating the automation helpers and, especially, the ReportToPDF tool is for sure a good idea. Just give it a try!

Best,
Robin
by RobinHood42
Mon Jun 08, 2020 8:14 am
Forum: Automation API
Topic: Update CSV data source at runtime?
Replies: 17
Views: 12090

Re: Update CSV data source at runtime?

Hi, If the data connector is already defined in your test suite, you just need the name of it in order to load the data. I think this is the section you need. var source = DataSources.Get(dataConnectorName); tc.DataContext.Source=source; tc.DataContext.Source.Load(); I also posted a code to update t...
by RobinHood42
Mon Jun 08, 2020 7:55 am
Forum: General Questions
Topic: How to create Simple Data Connector via user code
Replies: 5
Views: 2831

Re: How to create Simple Data Connector via user code

Hi,

did you check the API documentation? There is no Create method defined in the DataSources class. Pavel's code is a good solution for your problem.
If you want to have more convenience, you can request this feature on the user voice.
https://www.ranorex.com/uservoice/

Cheers,
Robin
by RobinHood42
Fri May 29, 2020 9:36 am
Forum: Automation Tools
Topic: How can I make the difference between a timeout and an instant error while waiting for a web page?
Replies: 3
Views: 1338

Re: How can I make the difference between a timeout and an instant error while waiting for a web page?

Hey, if there is an error message when the technical error occurs, you can check if the error message exists. Set the parameter continue on fail to true (or exceptionOnFail in user code to false) and ranorex will contiune if the technical error doesn't occur. Validate.Exists(argument1,"",false); Che...
by RobinHood42
Fri Apr 10, 2020 11:37 am
Forum: General Questions
Topic: Initialising RepoItem and RepoItemInfo variables from repository item for web element that does not exist
Replies: 7
Views: 2312

Re: Initialising RepoItem and RepoItemInfo variables from repository item for web element that does not exist

Hi Ben, The information your get from the report is that the element with the specific RxPath cannot be found. I would check if the element can be found with this RxPath at the time. You wrote that it works when using a recording. You can compare the RxPath in the report with the corresponding eleme...
by RobinHood42
Wed Apr 08, 2020 7:40 am
Forum: General Questions
Topic: Problem with Image Validation - iPad 9,6" and iPad Pro with 11"
Replies: 6
Views: 1065

Re: Problem with Image Validation - iPad 9,6" and iPad Pro with 11"

Hi,

The image are not the same, so the validation fails. You would need to create a separate test for your 9,6" device.

Cheers,
Robin
by RobinHood42
Fri Mar 13, 2020 2:47 pm
Forum: Automation Tools
Topic: Unerklärliches Verhalten
Replies: 6
Views: 1730

Re: Unerklärliches Verhalten

Hey Rudolf, your last post was in german again. Google translate is saying that you are complaining that they didn't just answer your question. There is a good reason why this forum (like all other technical forums I know) is in english language only. Most users might not speak german and have no id...
by RobinHood42
Fri Feb 21, 2020 10:01 am
Forum: Bug Reports
Topic: Cleanup in Mappings is not working properly
Replies: 2
Views: 1390

Re: Cleanup in Mappings is not working properly

Hi Geci,

It would be great if you could provide build-able code. The sample misses some critical information/classes.

Cheers,
Robin
by RobinHood42
Wed Feb 19, 2020 9:34 am
Forum: General Questions
Topic: Get RanorexStudio Server name in remote execution
Replies: 2
Views: 1207

Re: Get RanorexStudio Server name in remote execution

Hi,

I'm afraid that this not possible. There's definitely no API to get the "hostname" from the test run on the agent machine.

Cheers,
Robin
by RobinHood42
Wed Feb 19, 2020 9:29 am
Forum: General Questions
Topic: Parallel Testing with Virtual Machines
Replies: 1
Views: 1041

Re: Parallel Testing with Virtual Machines

Hi, No one here can help or advice on how you can setup your testing infrastructure. You'll need to coordinate that with your internal IT department or whoever is responsible for your virtual and/or physical environment. As for the licensing: You will need a runtime license or premium license for ea...
by RobinHood42
Fri Feb 07, 2020 9:06 am
Forum: Bug Reports
Topic: pdf Report Creator seem to crash if testsuite only has a setup and no testcases/smartfolders
Replies: 1
Views: 1432

Re: pdf Report Creator seem to crash if testsuite only has a setup and no testcases/smartfolders

Hi,

Why would I wan't to have just a "SETUP" within my TestSuite? If there is really not more to be handled within your TestSuite, simply create a TestCase and call it "SETUP".

Cheers,
Robin
by RobinHood42
Tue Dec 24, 2019 9:45 am
Forum: How To …
Topic: Datagrid
Replies: 4
Views: 1693

Re: Datagrid

Hi! This has to be done in user code. You can use the FindChildren() (or FindDescendants()) method to get all child elements from the Grid which can be compared to the expected values in a loop. Here is an example of how to implement such a loop: How to use FindChildren to loop through a //div Cheer...