Page 1 of 1

Does Ranorex support BDD ?

Posted: Wed May 15, 2013 2:49 pm
by sangita
Hi Support Team,

We work for mobile web application project through continuous Integration,developed in .Net framework.
We have got BDD scenarios loaded in JIRA. We need to write test scripts(Not Record and Playback) for each BDD Scenario while developers write their code.When developers does commit changes in SVN server Team City will be triggered to Build SUT , Build Test automation(Ranorex) and Run Test Execution on Real devices(IOS,Android,Windows)[Reference:http://www.ranorex.com/blog/integrating ... ci-process]

Could we write scripts for BDD Scenario in Ranorex Studio/Visual Studio(Using Ranorex library) in such a way to run tests on real devices while teamcity trigger the test execution ?

Awaiting your Reply

Re: Does Ranorex support BDD ?

Posted: Thu May 16, 2013 1:16 pm
by sangita
Could you please reply to the post ?

Re: Does Ranorex support BDD ?

Posted: Thu May 16, 2013 4:55 pm
by Support Team
Hello,

Unfortunately web applications are only possible for iOS devices and only using the RXBrowser. Please take a look at the section "Testing of mobile web sites" in order to get more information how to testing web applications on your iOS device or simulator.

Unfortunately Ranorex doesn't support web applications on android devices at the moment and unfortunately Windows phones are not supported at the moment.
Could we write scripts for BDD Scenario in Ranorex Studio/Visual Studio(Using Ranorex library) in such a way to run tests on real devices while teamcity trigger the test execution ?
In general it should be possible to execute tests on a mobile device if the device is connected to the machine where the tests are executed, but I am afraid that I don't understand exactly what you mean.
Could you please explain this in more detail?
Thank you!

Regards,
Bernhard

Re: Does Ranorex support BDD ?

Posted: Thu May 16, 2013 5:27 pm
by sangita
Thanks for your Reply.

Here is my Requirement

I have got BDD Scenarios in Gherkin Format. While developers write their code,Test scripts needs to be written parellely ,based on BDD Scenarios.

I am thinking to write test scripts using Ranorex Library in visual studio along with specflow tool for IOS Mobile web application Testing .Something like below code

using System;
using Ranorex;
using NUnit.Framework;
using TechTalk.SpecFlow;namespace BDD
{
[Binding]
public static class GUI_Interacter
{
[When(@"I click the start button")]
public static void ClickStart()
{
Ranorex.Button start = ”/button[@text='Start']“;
start.Click();
}
[Then(@"all programs shows")]
public static void AllProgramsShown()
{
Ranorex.Validate.Exists(“/form[@title='Start menu']//button[@text='All Programs']“, ”Validating all programs is shown.”);
ClickStart();
}
}
}

Reference [http://soft-test-tech.co.uk/2011/10/aut ... t-ranorex/]


When Team City builds SUT ,automation should also be triggered and run test scripts on Real IOS Device.


Could you please let me know whether this is feasible ?

Thank you !

Re: Does Ranorex support BDD ?

Posted: Fri May 17, 2013 10:32 am
by sangita
Hi Team,

Since we are evaluating available tools in the market. It would be great if you could let us know soon whether Ranorex will be a Right fit for us .

Thanks in Advance !

Re: Does Ranorex support BDD ?

Posted: Fri May 17, 2013 2:49 pm
by Support Team
Hello,

Unfortunately I have no experience with specflow, but i am confident that it should work since there is already a blog you have found which describes how to combine specflow with Ranorex.
I would suggest to download the trial version of Ranorex and try it out. You can download Ranorex from the following link http://www.ranorex.com/download.html.
I hope that Ranorex will be the program of your choice :-)

Regards,
Bernhard

Re: Does Ranorex support BDD ?

Posted: Fri May 17, 2013 3:20 pm
by sangita
I Hope so :) Thanks for your Reply !!!