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

Click Alert View using KIF

So I have a test that is running in KIF that wants to click the alert view's primary button (in this call the label is called "Call". But the problem is that the tableview also has buttons called "Call" on it. I was able to isolate the view of the…
HaloZero
  • 475
  • 4
  • 15
0
votes
2 answers

accessibility detected as not on in KIF

I have turned on accessibility in iOS simulator and tried running my KIF test, but I constantly am getting the following error: ** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The accessibility inspector…
adit
  • 32,574
  • 72
  • 229
  • 373
-1
votes
1 answer

Taking Screenshot using KIF2 IOS

Please help me with a sample code of KIF2 for capture a screenshot on demand, I want to take screenshot in simulator using KIF2 Please help !
Mitul
  • 613
  • 1
  • 8
  • 19
-1
votes
2 answers

Objective c - Run block of code for X seconds but return immediately if condition satisfies

So the situation is I need to run the code for 5 seconds but if I match the condition then want it to immediately return back. I am doing this in KIF test steps and I don't want this to block my applications main thread. Sample pseudo Code - +…
Raj
  • 537
  • 1
  • 5
  • 18
1 2 3
9
10