ios-ui-automation Questions

2

Solved

I'm using the Xcode "Instruments" tool to build automation for an iOS application and I need to verify that the label for an entry I've created in my app is correct. The code listed below is, for...
Ronel asked 6/3, 2013 at 1:45

2

For this line of test code : view.scrollViews()[0].tapWithOptions({tapOffset:{x:0.32, y:0.25}}) I am getting this error 2012-11-02 18:09:23 +0000 None: Script threw an uncaught JavaScript error:...
Nightcap asked 2/11, 2012 at 18:16

2

Solved

I have a xib file which has a view. Under a view, I have few labels... I am working on UIAutomation and hence want to add accessibility identifiers to the view and each of these labels. How can I d...
Orthodoxy asked 20/12, 2012 at 22:27

3

How do I get the bundle Id of the app I am in ?
Bowes asked 5/1, 2012 at 12:16

5

I am trying to use Apple's UIAutomation to write unit tests for an iOS Application that has a server-side component. In order to setup the test server in various states (as well as simulate two cli...

4

Solved

I would like to test my app's ability to handle orientation changes (portrait/landscape). I'm currently using KIF and as far as I know, it cannot do this. Is there a way to simulate the rotation ev...
Moynahan asked 18/6, 2012 at 9:25

4

I was googling a lot in order to find a solution for my problems with UI Automation. I found a post that nice summarizes the issues: There's no way to run tests from the command line.(...) Th...
Patinated asked 24/1, 2011 at 15:6

2

I am trying to get the value from a UILabel by doing a target.logElementTree() but I am unable to see the value that the Label is actually set with. It only shows the string that we set based on t...
Chloral asked 24/4, 2012 at 14:58

3

Solved

For a while now I've been trying to work out how to run UIAutomation tests from Jenkins - every time I run the build, it builds fine, then it runs my instruments command (using the same command as ...
Penna asked 2/5, 2012 at 19:25

1

Does anyone found any examples on UIAutomation test scripts with sample projects? So far I found only WWDC2010 video covering the topic, but no sample scripts/projects to play around with. Also i...
Aachen asked 4/1, 2012 at 11:42

2

Solved

Is there a way to tell CoffeeScript to just ignore a certain line and output it as is? I want this line to be included in the resulting javascript #import './blah/blah' But CoffeeScript is comp...
Kurrajong asked 20/2, 2012 at 8:16

1

Solved

I can't seem to figure out how to save recorded scripts in the "UI Automation" tool in Instruments. I launch my iphone app with "Profile" select the "UI Automation" tool, add a "New Script" and st...
Sidewheel asked 31/1, 2012 at 2:50

1

I am very new to the iOS UIAutomation, here is the problem I am facing I have a view hierarchy as below and want to access CustomView2 elements in the automation sctipt UIWindow > UIScrollView > ...
Feria asked 20/10, 2011 at 9:51

1

Solved

I'm making a small test framework that uses the JavaScript module pattern for UI Automation testing on iOS. However, I seem to be getting odd results based on #import and extending modules. I have...
Hemicellulose asked 23/9, 2011 at 16:29

1

Solved

Testing with UIAutomation on Instruments is great, however, the documentation and resources around it are either non-existent or in hiding. What are the best resources (documentation, blog po...
Winding asked 5/9, 2011 at 12:26

1

Within a script written in JavaScript for the UI Automation instrument, how do I import another JavaScript file?
Urethra asked 18/5, 2011 at 7:24

1

Solved

All UI Automation examples I've seen uses standard components whose state can be inspected with the JavaScript API using the value() method. This is a bit limiting. Lets say you want to check the c...
Ingeborg asked 28/6, 2011 at 9:28

1

Solved

I have a view with two subviews a button and an Image, I turn on accessibility and set the label on the subviews and I can see the hierarchy by calling UIATarget.localTarget().frontMostApp().main...
Solomonsolon asked 1/6, 2011 at 10:55

2

Solved

I want to write UIAutomation (JavaScript based) tests for a rather complex iPhone App. I dont't want to use one single huge file, but to seperate the testing functions and helpers by using several ...
Manufactory asked 21/3, 2011 at 17:41

1

Solved

Get knowing the automation UI testing for iOS apps from WWDC2010 video session, but no practices for it. From codeproject project,we can have one example. Questions here to hear from peopl...
Proportional asked 27/4, 2011 at 1:52

1

Solved

I'm looking to set up testing at my company, but I'm a little fuzzy on the best way to start. I know that I can use a framework for unit testing, such as OCUnit, GHUnit or SenTestingKit... so far ...
Dendroid asked 31/3, 2011 at 17:14

1

Solved

i am able to see the view but im unable to see/tap the button inside it. The button has a accessibility label of UIA_loginview_loginbutton with accesibility enabled. why is it not showing on logEle...
Breastplate asked 13/1, 2011 at 7:15

8

What are the best technologies to use for behavior-driven development on the iPhone? And what are some open source example projects that demonstrate sound use of these technologies? Here are ...
Shyster asked 6/11, 2010 at 16:54

6

Solved

I am about to finish my first iPhone application, and I'm am wondering if there are a set of steps that are used to check the app for memory leaks, performance, etc.? Is checking with the Leaks in...
Irritant asked 9/12, 2010 at 12:7

4

Solved

I took the time to set up some Unit Tests and set up the targets in XCode, etc., and they're pretty useful for a few classes. However: I want to test small UI pieces for which I don't want to laun...
Ammon asked 30/9, 2010 at 20:46

© 2022 - 2024 — McMap. All rights reserved.