Does Ranorex support BDD ?

Mobile Testing, Android App Testing.
sangita
Posts: 5
Joined: Fri May 10, 2013 3:52 pm

Does Ranorex support BDD ?

Post by sangita » Wed May 15, 2013 2:49 pm

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

sangita
Posts: 5
Joined: Fri May 10, 2013 3:52 pm

Re: Does Ranorex support BDD ?

Post by sangita » Thu May 16, 2013 1:16 pm

Could you please reply to the post ?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Does Ranorex support BDD ?

Post by Support Team » Thu May 16, 2013 4:55 pm

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

sangita
Posts: 5
Joined: Fri May 10, 2013 3:52 pm

Re: Does Ranorex support BDD ?

Post by sangita » Thu May 16, 2013 5:27 pm

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 !

sangita
Posts: 5
Joined: Fri May 10, 2013 3:52 pm

Re: Does Ranorex support BDD ?

Post by sangita » Fri May 17, 2013 10:32 am

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 !

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Does Ranorex support BDD ?

Post by Support Team » Fri May 17, 2013 2:49 pm

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

sangita
Posts: 5
Joined: Fri May 10, 2013 3:52 pm

Re: Does Ranorex support BDD ?

Post by sangita » Fri May 17, 2013 3:20 pm

I Hope so :) Thanks for your Reply !!!