Questions tagged [frank]

Frank allows you to write structured text test/acceptance tests/requirements (using Cucumber) and have them execute against your iOS application.

73 questions
1
vote
1 answer

How to setup Frank Automation on real device?

I have tried frank on iOS simulator. But need to know, how to run the tests on real device i.e on iPhone ? How will be the connection between device and Mac? through WIFI ?
Vijay
  • 878
  • 1
  • 7
  • 21
0
votes
1 answer

How can I get Frank to play nicely with Cocoapods and interface-builder (Rubymotion)

I've been trying all day to get Frank to work well in my RubyMotion app. This is becoming quite stressful, any help would be appreciated. What I've done so far: Built an app. The app includes Cocoapods and the ib gem. Installed the frank gem gem…
bodacious
  • 6,608
  • 9
  • 45
  • 74
0
votes
0 answers

frank screenshot crashes with keyboard

We have a textfield which we tap on in our cucumber functional test step. we take screenshot after every step using this line: frankly_screenshot("#{screenshot_file}”) But when we have a number keyboard shown on tapping the textfield, above line…
user1452936
  • 555
  • 1
  • 6
  • 14
0
votes
0 answers

Build Frank with Cocoapods

I'm trying build Frank with my xcode app that use Cocoapods. Setup (frank setup) is ok. After setup i ran frank build. I get error. After some research i ran: frank build --workspace my_app.xcworkspace/ --scheme my_app and result was: ** BUILD…
marysmech
  • 183
  • 1
  • 3
  • 10
0
votes
0 answers

frank : how to reset the app to first launch state

I want to make my frank test suite be able to login repeatedly. And I've found 'Resetting the app to first launch state' at http://www.testingwithfrank.com/user_steps.html : Given /^I reset the (iphone|ipad) app$/ do |device| steps "When I quit the…
zy1991
  • 1
  • 1
0
votes
1 answer

Timeout when Frank Test Fails

Keeping in mind, I am completely new to Frank and ruby.. Whenever we run Frank and a test fails, Frank lets us know the test fails but the inbuilt Frank server just seems to sit there and timeout for about 60 seconds before moving on to the next…
Killian
  • 936
  • 3
  • 14
  • 28
0
votes
1 answer

Frank Cucumber: app_exec in custom class throwing exception

I am trying to call app_exec from inside a custom class within my launch_steps.rb file but I keep getting this exception: undefined method `app_exec' for MyJSON:Class (NoMethodError) Then (/^I check the json/) do MyJSON.requestJson puts…
BinaryShrub
  • 346
  • 1
  • 3
  • 14
0
votes
1 answer

How to change the value of a Switch in Frank / Calabash

I have a switch with a view, say 'switch_view'. I need to change it for an automation test. How do I do this? My work till now is: def switch(switch_view) # Get the value of the switch switch_state = (frankly_map(switch_view, 'isON')).first …
gran_profaci
  • 8,087
  • 15
  • 66
  • 99
0
votes
1 answer

Frank cucumber can't access the iOS simulator

I'm learning about automated iOS testing methods and right now I'm trying Frank. I've written small simple app and added Frank to it. The problem is - I can't get it to work at all. I've gone through the tutorials and various "Getting started"…
dan_fides
  • 324
  • 1
  • 10
0
votes
1 answer

how to use calaba.sh or Frank with Corona SDK app

I'd like to use either Calaba.sh or Frank to automate the tests on my Corona SDK app on iOS. Both tools, implies that you bundle a provided framework during the build and rely on typical XCode project organisation. I've looked into setting up with…
JeanLaurent
  • 716
  • 2
  • 8
  • 12
0
votes
0 answers

Checking fot transient messages with Frank/Cucumber

I am very new to Frank/Cucumber and hope you can help. I am trying to test an iOS app and am writing a test to assure that logging in with bad credentials fails. I am able to enter credentials and attempt to login but this results in a message…
0
votes
1 answer

Frank Cucumber iOS 6 Black Screen

I've tried to install Frank-Cucumber using the documentation provided (http://blog.thepete.net/blog/2012/06/24/writing-your-first-frank-test/), however I receive a black screen on the simulator every time I try to do a frank launch From the groups…
Alex
  • 7,432
  • 20
  • 75
  • 118
0
votes
1 answer

frank build fails on ld command

I'm following the tutorial recommended on the Frank-Cucumber website (http://blog.thepete.net/blog/2012/06/24/writing-your-first-frank-test/), but once executing frank build, the build fails saying: The following build commands failed: Ld…
Alex
  • 7,432
  • 20
  • 75
  • 118
0
votes
1 answer

How do I take input using the gets module when using Frank and cucumber?

Background Info I am currently using Frank with Cucumber to automate testing on an iOS app. Everything works as it should, I can Frankify the app, run it, etc. Symbiote works as it should, as does Cucumber. I've already written many testing steps…
Michael
  • 898
  • 1
  • 8
  • 14
0
votes
0 answers

Springboard freeze issue on iPhone - During Frank automation

This is what I am doing, Installing my test App using Fruitstrap on the test iPhone Running Frank automation on the App Un-installing the App using Fruitstrap, Now when I try to repeat the above process, on 2nd iteration I am experiencing a…
Vijay
  • 878
  • 1
  • 7
  • 21