Search found 26 matches

by bberrabah
Tue Mar 05, 2019 3:58 pm
Forum: Automation Tools
Topic: Experience with Ranorex Agent REST API
Replies: 3
Views: 1824

Re: Experience with Ranorex Agent REST API

Hi;

My answer to my self, is that the agent is "callable" using Rest API,

for jobs operations: http://AGENT_HOST:8081/api/jobs

You can capture all other HTTP flows using a network/HTTP sniffer like Fiddler.

Regards
by bberrabah
Tue Mar 05, 2019 12:01 pm
Forum: Automation Tools
Topic: Experience with Ranorex Agent REST API
Replies: 3
Views: 1824

Experience with Ranorex Agent REST API

Hello;

Do someone have experience with the Agent REST API please?

Best regards
by bberrabah
Thu Sep 20, 2018 2:02 pm
Forum: How To …
Topic: Command line to run only one testsuite in multiple-test suit project
Replies: 2
Views: 1627

Re: Command line to run only one testsuite in multiple-test suit project

Thanks;

i forgot the "/" before the "ts" argument. So sure, it couldn't be run

Best regards
by bberrabah
Thu Sep 20, 2018 1:51 pm
Forum: How To …
Topic: Command line to run only one testsuite in multiple-test suit project
Replies: 2
Views: 1627

Command line to run only one testsuite in multiple-test suit project

Hi ; Somebody can show to me how is it possible ton run inly one test suite from multiple testsuites project in commande line ? I tried to get information here, https://www.ranorex.com/help/latest/ranorex-studio-fundamentals/test-suite/running-tests-without-ranorex-studio/ but i didn't find adequate...
by bberrabah
Mon Jun 11, 2018 1:41 pm
Forum: How To …
Topic: Share Complex Data Objects between Modules
Replies: 1
Views: 1479

Re: Share Complex Data Objects between Modules

Hi!

I think that this problem should be resolved by using a static Global Class that handle the necessary objects.

https://stackoverflow.com/questions/143 ... -variables

Best regards
by bberrabah
Mon Jun 11, 2018 9:06 am
Forum: How To …
Topic: Share Complex Data Objects between Modules
Replies: 1
Views: 1479

Share Complex Data Objects between Modules

Hello; I have a question about best practises ti share complex Data Objects between Two Modules For example, assume that i have module_a and module_b. module_a create a list of SimpleUCDTO IList(<SimpleDTO>(see bellow), and module_b have to use it namespace CustomCode.DTO { [Serializable] public cla...
by bberrabah
Thu Jun 07, 2018 1:40 pm
Forum: How To …
Topic: Using c# Generics for a Method
Replies: 2
Views: 1753

Re: Using c# Generics for a Method

Thanks for the answer. I finally used to create this Method, public static void CheckExistsAndSetValueG<T> (T input, String value) where T:RepoItemInfo, IAdapter { if (input is IAdapter){ IAdapter adapter = (IAdapter) input; CheckExistsAndSetValue(adapter, value); } if (input is RepoItemInfo){ RepoI...
by bberrabah
Thu Jun 07, 2018 10:51 am
Forum: How To …
Topic: Using c# Generics for a Method
Replies: 2
Views: 1753

Using c# Generics for a Method

Hello; I want to sk you how is it possible to use Generics for a method, so i can take two types of Arguments: Adapter and RepoItemInfo. The idea is to have [UserCodeMethod] public static void CheckExistsAndSetValueG<T> (T input, String value) { if (input is Adapter){ Adapter adapter = (Adapter) inp...
by bberrabah
Mon Mar 19, 2018 1:11 pm
Forum: How To …
Topic: Create All in one Test case
Replies: 3
Views: 2000

Re: Create All in one Test case

I find better, i created a recursive function that set the adequate datarange for each SmartFolder private void setDataRangeForContainerAndChilds(ITestContainer testContainer, int dataRange){ testContainer.DataContext.SetRange(dataRange, dataRange); Report.Log(ReportLevel.Info, "Client", String.Form...
by bberrabah
Thu Mar 15, 2018 9:39 am
Forum: How To …
Topic: Create All in one Test case
Replies: 3
Views: 2000

Re: Create All in one Test case

Hi; It's possible to do this using this code (to be inserted somewhere at the begining of the test) int dataRange = Ranorex.Core.Reporting.TestReport.CurrentTestIterationActivity.Index-1; TestSuite.Current.GetTestContainer("SmartFolder1").DataContext.SetRange(dataRange, dataRange); TestSuite.Current...
by bberrabah
Wed Mar 14, 2018 11:05 am
Forum: How To …
Topic: Create All in one Test case
Replies: 3
Views: 2000

Create All in one Test case

Hello; i'm working on test automation for insurrance product with some 10 medium complexity steps. I have to create 10 test cases for each use case. My scenario is: Extranet Login Member / CoMember information Insurrance History Medical History Financial Investment repartition .... I choosed to crea...
by bberrabah
Wed Mar 14, 2018 10:35 am
Forum: How To …
Topic: Generate XMLDoc documentation
Replies: 7
Views: 1708

Re: Generate XMLDoc documentation

Thanks;
i'm just seeking for "express" mean to create autmatic documentation for modules.
Best regards
by bberrabah
Wed Mar 14, 2018 10:18 am
Forum: How To …
Topic: Generate XMLDoc documentation
Replies: 7
Views: 1708

Re: Generate XMLDoc documentation

Hi;
What do you use instead please?
Regards
by bberrabah
Tue Mar 13, 2018 10:32 am
Forum: How To …
Topic: Generate XMLDoc documentation
Replies: 7
Views: 1708

Re: Generate XMLDoc documentation

Thanks you.
Do you have any XSL file for a pretty display?
Regards
by bberrabah
Mon Mar 12, 2018 3:22 pm
Forum: How To …
Topic: Generate XMLDoc documentation
Replies: 7
Views: 1708

Generate XMLDoc documentation

Hello,
Do you know how and in which folder is the XMLDoc documentation generated?
Regards