Frank allows you to write structured text test/acceptance tests/requirements (using Cucumber) and have them execute against your iOS application.
Questions tagged [frank]
73 questions
1
vote
2 answers
How to automatically enable accessibility inspector in iOS simulator using Frank with Cucumber
The goal
I'm using Frank with Cucumber to test an app and my goal is to have it as automated as I can possibly get it. Part of that is turning back on the Accessibility Inspector after I reset the simulator.
Details
To reset the simulator I use the…

Michael
- 898
- 1
- 8
- 14
1
vote
2 answers
Use constants in cucumber?
I have about 20 Scenarios that use the same integer to specify the row number of the tableviewcell. There was a recent change to the product and I had to change all 20 scenarios only by changing that row number. At the moment I would prefer not to…

SirRupertIII
- 12,324
- 20
- 72
- 121
1
vote
1 answer
KIF or Frank for Automated iOS device testing
Looking for advice from someone who has tried both. We have a good chunk of our framework in Ruby, so Frank with Cucumber looks like an obvious choice. How well does Frank send tests to actual devices?

Shaun McCabe
- 38
- 5
1
vote
0 answers
How to generate code coverage file with Frank automation - Locally (Without Jenkins/Hudson)
I've seen various articles describing how to run Frank automation on Jenkins/Hudson using headless app running method. But is there a possibility to run the Frank Automation locally and generate the coverage files (gcno, gcda?)
How to make the test…

Vijay
- 878
- 1
- 7
- 21
1
vote
1 answer
How to auto scroll the view in ios Frank to find a particular element?
I am trying to automate an ios native app using Frank page which has a lot of text field. But i am not able to find a step which auto scroll the page under view until the element is find.
If the element is outside the view, frank is not able to fill…

Manisha Awasthi
- 449
- 1
- 5
- 16
1
vote
0 answers
IOS Frank Build Fail
I'm trying to build Frank for an IOS project i'm currently creating but i keep getting build errors failures with Frank while Xcode can build the project fine.
Maybe some important details:
- I'm using a library that i compiled for the ipad so the…

Hong Wei
- 11
- 2
1
vote
1 answer
Frank test for existence of either of two elements
I want to "wait" for either of the two uiviews to show up before checking for something,
If I wanted to wait for one specific element I could have used one of the example steps provided in the Frank examples :
Then /^I should wait to see…

Ali
- 18,665
- 21
- 103
- 138
1
vote
1 answer
How do you fill in a text field without a name? Ruby/Cucumber/Frank
My question is if it's possible to fill in a textfield that hasn't got a name. It has a Label with a name but the field itself doesn't have one. Is there a way of clicking at the label and the typing "blindly" or is this not possible?
This is how it…

Jan
- 338
- 3
- 18
1
vote
2 answers
Writing cucumber test cases
I am trying to lear how to write test scripts for frank ( cucumber test scripts).
This is what I have written
When I navigate to "aaa"
Then I should be on the aaa screen
Then I navigate to "bob"
Then I should be on the bob screen
When /^I navigate…

Jan
- 338
- 3
- 18
1
vote
1 answer
Frank can't touch a textField with tag
I have a UITableViewCell, and it was made up with one UITextLable and one UITextField
This UITextField without placeholder and accessibilityhint
I have to write my feature file touch this UITextFeild by tag.
When /^I touch the…

Daniel Chen
- 1,933
- 5
- 24
- 33
1
vote
1 answer
Why I can't touch the button in alert view, right after I see the alert?
I'm testing iOS application by using the automation framework named "Frank"
And there were some alert popped up in my application I need to cover.
I've wrote my feature file as below:
Scenario:
I input wrong username and password, I should see…

Daniel Chen
- 1,933
- 5
- 24
- 33
1
vote
1 answer
rvm & duplicate environment variables (rubymotion)
I think I have a gem installed twice but I don't know how to uninstall one of them. When I try to build my rubymotion project I get these warnings:
/Users/pachun/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.2.1/lib/Bundler.rb:12: warning: already…

pachun
- 926
- 2
- 10
- 26
1
vote
1 answer
Testing a location based iOS application using Frank
I am investigating the available testing frameworks for iOS,
I want to write tests for an iOS app that are location dependent, like if you are at place A (I mean geo-location) this testStep should fail and that one should succeed and in location B…

Ali
- 18,665
- 21
- 103
- 138
1
vote
0 answers
Frank (cucumber) iOS test element position
I want to test that a UI element repositioned itself after reorientating. The accessability label for the element is "large app icon" and it is a UIImageView. How can I say something like:
element("view marked:'large app icon'").frame should_be([…

pachun
- 926
- 2
- 10
- 26
1
vote
0 answers
Does Frank iOS automation allows screen capture on real device?
Frank - Cucumber used for iOS app automation allows the user to capture the desktop screen in case of failed test case. This captures the screenshot of the simulator. But will it be possible to capture the screenshot of real device while running a…

Vijay
- 878
- 1
- 7
- 21