Questions tagged [kif]

KIF is an iOS integration test framework. It allows for easy automation of iOS apps by leveraging the accessibility attributes that the OS makes available for those with visual disabilities.

139 questions
0
votes
1 answer

Define constant value for tests and another for debug

I'm using XCode 6.1, Swift and KIF for tests. Is there any way (like processors) to define a let value for debug and another specific to tests environment?
Daniel Gomez Rico
  • 15,026
  • 20
  • 92
  • 162
0
votes
1 answer

Linker error while using KIF on xcode6

When i'm trying to use KIF, I get this linker error. Anybody know what is it? ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Framework' ld: file not…
Yury Lego
  • 21
  • 1
  • 5
0
votes
2 answers

Get access to the classes in another target with KIF

I have a pickerView with dynamically changing number of rows. I want to choose this count from my model in the main app target. For example, //test target #import #import "SearchModel.h" //import class from main target @interface…
Kate Geld
  • 171
  • 1
  • 8
0
votes
1 answer

KIF checking a view overflow with the keyboard / visibility

How to check if an element is covered by presented keyboard or not? Let's say we have a login view with input text fields and button "Log In" and we want to make sure if button "Log In" is always visible... When you start typing into email field…
Danil
  • 2,497
  • 2
  • 19
  • 27
0
votes
1 answer

How pick image on Albums - iOS testing KIF

Faced with this problem, when you select an image from the album comes not click on the image. At point pressure also occurs. What to do? used:[tester choosePhotoInAlbum:@"Moments" atRow:0 column:0]; As well as: [tester…
Azot
  • 141
  • 2
  • 7
0
votes
1 answer

Test External Browser launched with KIF in iOS

I'm using Swift, XCode 6.1 and KIF for integration test. How can I see if the web browser was launched if I use this: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.daledietrich.com"]]; Or how can I launch an URL in…
Daniel Gomez Rico
  • 15,026
  • 20
  • 92
  • 162
0
votes
1 answer

Is there any tool available to automate iOS default (Emai)l app?

I have explored couple of tools like Appium,KIF, for these tools we need to own the app (to enable Automation Instrument) to automate. And also tried with .IPA files available on the internet (Gmail email client) on iOS simulator, not got any…
Surya
  • 4,446
  • 2
  • 17
  • 19
0
votes
1 answer

how to select UIMenuItem of UIMenuController in KIF framework?

I created UIMenuItem programmingly in Xcode, and using [deleteItem setAccessibilityLabel:@""]; [deleteItem setIsAccessibilityElement:YES]; to set the access UILabel and make it accessible for testing, however, when I run the test using [tester…
air_bob
  • 1,317
  • 14
  • 26
0
votes
2 answers

Accessibility label wih iOS ViewController presented as a form sheet

I am making use of a Presentation: Form Sheet in my app. So my ViewController gets displayed as a form with the black semi-transparent overlay around it. I have implemented the logic to dismiss everything should the user tap anywhere outside my…
m.y
  • 691
  • 9
  • 21
0
votes
1 answer

Unable to get entitlements for client task

I'm using the next pod file: platform :ios, "6.0" target "Tests", :exclusive => true do pod 'KIF', :head end After pods was successfully updated, i try to run 1 test method but after project build operation i receive next message in the XCode…
0
votes
1 answer

Trouble running KIF iOS Automation Tests

Just finished integrated KIF into my project -- but I am having trouble getting the tests to run... When I run my unit tests, the sample XCTest example runs fine, but the separate kif tests never execute. Further, they show up in the test navigator…
Sean Danzeiser
  • 9,141
  • 12
  • 52
  • 90
0
votes
1 answer

Getting UITableViewCell from UIAccessibilityElement

I'm using the KIF framework and from various APIs I can fetch the UITableViewCellAccessibilityElement for a specific UITableViewCell subclass called RDTokenCell. (lldb) po element [UITableViewCellAccessibilityElement - 0x148c9f30]
Awesome-o
  • 2,002
  • 1
  • 26
  • 38
0
votes
2 answers

How to install KIF 1.0.0 instead of KIF 2.0.0 for appthwack

I have sucessfully integrated KIF 2.0.0 in my Xcode workspace using cocoapods,and have created a number of test scripts as well.But for testing my iOS app in https://appthwack.com/, I need to switch back to the lower version of KIF,which is KIF…
Hari
  • 123
  • 1
  • 12
0
votes
1 answer

Possible to build a scenario outline with multiple examples with KIF?

I'm using KIF for integration/acceptance testing in my iOS app and I have an example that needs to run through ~50 static table rows expecting specific content on the view pushed onto the stack. If I was in the Cucumber/Rspec world I would write a…
ppilone
  • 1,082
  • 1
  • 10
  • 16
0
votes
2 answers

SenTestingKit setUp and tearDown overrides get called twice

I am using KIF to test our iOS app. I am trying to make some tests that will go before and after my whole test sweet. I made a SenTestSuite category and overrode -setUp and -tearDown: -(void)setUp { [tester loginCurrentVersion]; …
SirRupertIII
  • 12,324
  • 20
  • 72
  • 121
1 2 3
9
10