Questions tagged [subliminal]

Subliminal is an iOS integration testing framework. Subliminal tests are written in Objective-C and use Apple's UIAutomation framework to simulate user interaction.

Subliminal is a framework for writing iOS integration tests. Subliminal provides an OCUnit/SenTest-like interface to Apple's UIAutomation framework, with tests written entirely in Objective-C.

For more information, including documentation and examples, see http://github.com/inkling/Subliminal.

20 questions
4
votes
3 answers

How to simulate table view or collection view scrolling using Subliminal?

I'm currently trying both KIF and Subliminal for iOS integration testing. But I still cannot figure out how to simulate scrolling on table view or collection view using both frameworks. Like how to scroll to the bottom of table view or collection…
Nico Prananta
  • 474
  • 4
  • 14
2
votes
1 answer

Can SLButton or SLElement be used to dismiss a UIActionSheet presented in a popover?

I tried: SLButton *actionSheetButton = [SLButton elementWithAccessibilityLabel:@"Remove"]; // also tried same with SLElement BOOL popoverDisplayed = SLWaitUntilTrue([UIAElement(actionSheetButton) isValidAndVisible], 3.0); if (popoverDisplayed) { …
Andrew
  • 158
  • 1
  • 5
1
vote
1 answer

How to fix the no dbm clone found error in pyinstaller

I have made a GUI app which uses subliminal in it . Then i tried compiling the program using PyInstaller . When i run the exe, it gives me the following error :- Traceback (most recent call last): File "main.py", line 375, in File…
Natesh bhat
  • 12,274
  • 10
  • 84
  • 125
1
vote
1 answer

Using subliminal, mode of operation & supported type of tests

I am evaluating test suites and have few Qs regarding subliminal Is this a stand-alone tool, OR, does it mandate X-code to be installed ? While having x-code installed, can subliminal run seperately, OR, does it integrate into X-code…
NadavRub
  • 2,520
  • 27
  • 63
1
vote
1 answer

SLElement doesn't exist xCode 5.1

I have a button inside of a UITableView. The UITableView was created in storyboard, but the button was created pragmatically. I get: Unexpected exception occurred SLUIAElementInvalidException for reason: Element '
alaursen
  • 13
  • 2
1
vote
1 answer

How to test a target other than Release with Subliminal automated testing for IOS

We are building an IOS app that talks to a server backend. We have several possible servers (dev, stable, staging, prod) and have a Release target for each. We would like to run the subliminal-test script and select the proper target to test. Is it…
1
vote
0 answers

Tap on UICollectionViewCell with Subliminal test

I have a UICollectionViewCell subclass, built in interface builder. In my test I want to tap on the first one. The code: - (void)tapFirstThing { SLElement *firstCell = [SLElement elementWithAccessibilityLabel:@"First"]; [firstCell…
i_am_jorf
  • 53,608
  • 15
  • 131
  • 222
1
vote
0 answers

Error with Subliminal tests, Xcode 5.0.2

Have Subliminal framework, install that through cocoa pods. Xcode version 5.0.2. My first test is worked first time, but now system hangs when executing a test run indefinitely with the words "Tests are starting up..." I can't to publish…
1
vote
1 answer

need help determining why ios Subliminal tests will randomly hang at different tests and and at different points during a test suite run

When running my test suite through Xcode or through the command-line, I have noticed that the tests will sit and hang for no apparent reason. I have no clue why the test will suddenly hang. The test will essentially hang forever or until I stop it.…
Ray
  • 501
  • 4
  • 9
1
vote
2 answers

Install Subliminal through cocoa pods

How to install Subliminal through cocoa pods?? Please, help))) Need instruction how I can do that with test-example... Because after setup subliminal through cocoa pods, in my project at launch subliminal profile I have a problem - Log message show…
1
vote
1 answer

How do I assert the title text of a UINavigationController in Subliminal?

I'm new to writing Integration Tests with Subliminal. And I want to test if a certain View Controller is shown after the user taps a button. What would the best way to test this? Can I get the top most view controller with Subliminal and find it's…
1
vote
1 answer

How do I get subliminal to continue with test suite after 1 test in suite fails?

Currently my app has a somewhat unstable development environment and a few of my tests will result in a false negative. If one of my tests fails in my Subliminal test suite, the entire suite stops! This is not what I want and I dont want to…
Ray
  • 501
  • 4
  • 9
1
vote
1 answer

Handle location permission popup with Subliminal

My iOS app (the iOS to be exactly) shows an popup asking for permission to use user's location at the first time launching - """ Would Like to Use Your Current Location" with two buttons "Don't Allow" and "OK". I tried: SLAlert *locationAlert =…
Thanh Pham
  • 2,021
  • 21
  • 30
1
vote
1 answer

How a Viewcontroller identify which test class need to run: Subliminal Framework

I wonder how a UIViewcontroller came to know that which test file it needs to pick. E.g. I have a big project with lots of UIViewcontrollers in it. And I want to make separate test files for each controller. Like 1 for login, another for profile…
0
votes
1 answer

Compilation error in Xcode, subliminal.h not found

After following the steps to install Subliminal via git submodule, I receive an error when trying to compile that says: Lexical or Preprocessor Issue 'Subliminal/Subliminal.h file not found This issue occurs in the app delegate file, after I add in…
yeting
  • 1
  • 5
1
2