ios-ui-automation Questions
1
I'm trying to run a UI Automation script from jenkins :
instruments -w 'iPhone 6 (8.1 Simulator)' \
-t '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationIns...
Diva asked 18/3, 2015 at 10:41
3
I have a set of automated test cases set up in instruments using tuneup.js to test an app. I decided to use tuneup.js as it allowed me to separate my tests into individual test cases and run the wh...
Soil asked 29/5, 2012 at 15:11
4
When I try to run a UI Automation script on iOS 5 devices I am getting the following error:
"An error occurred while trying to run the script."
The same script is running perfectly in the simul...
Pickings asked 18/1, 2012 at 7:1
4
Solved
I am working on UIAutomation. I need to change the location when the app is in background. I have tried following line of code:
var target = UIATarget.localTarget();
UIATarget.localTarget().deacti...
Programme asked 12/3, 2014 at 7:37
5
Since I use Xcode 5 and the new iOS 7 simulator to run UIAutomation tests with Instruments, dragInsideWithOptions and dragFromToForDuration functions have simply no effect. (The same tests worked f...
Swor asked 13/9, 2013 at 18:32
3
Solved
my iOS application has localization for 10+ languages.
I'd like to check that all screens looks ok (labels aren't too long/short etc).
I know I can go through my app and make screenshots using UI ...
Summary asked 13/11, 2012 at 16:33
4
I am performing following steps
Set capabilities and launch ABC app. By providing app path
capabilities.setCapability("app", "/Users/changdeojadhav/Library/Developer/Xcode/DerivedData/ABC/Build/...
Liborio asked 2/7, 2014 at 12:11
1
Solved
Running UIAutomation tests from the command line seems to break often with new Xcode releases (judging by past posts). Having never used the command line scripting for this, I found this post from ...
Montiel asked 17/9, 2014 at 13:48
5
I am using UIAutomation provided by Apple -> Xcode -> instruments.
I have my Javascripts and the whole automation using instruments command line infrastructure running up.
I got an additional task...
Aconite asked 11/10, 2012 at 9:13
5
Solved
I was playing around with the Automation tool in Instruments today but have had problems writing a working test. The following example will exit with Issue: Script ended without explicting closing ...
Mono asked 14/2, 2013 at 0:47
1
Solved
So I had this idea to test the implementation of my screen tracking (with Google Analytics) on my app using UI automation.
The original idea was to build a UI script to go through the screens whil...
Gretagretal asked 7/4, 2014 at 11:52
2
I have already read once or twice that turn on/off wifi on a real iOS device (iPad in my case) with a UI Automation script seems not possible.
I've also read that you can create a script with the ...
Allies asked 17/2, 2014 at 12:1
1
I'm trying to use the record feature in UIAutomation that only works on Simulator 5.0.
When using UIAutomation on Simulator 4.3, it runs perfect. When running my app from Xcode on Simulator 5.0 it ...
Gens asked 25/4, 2012 at 14:31
0
Similar to this question, except that the authorization database changed formats for mavericks and the old solution doesn't work: Is there a way to remove the authorization prompt from command-line...
Essary asked 22/1, 2014 at 14:35
4
I am trying to do End-to-End automation for an iOS project. My aim is to automate the continuous integration process with attaching UIAutomation scripts as post build action.
So from the time when...
Sulph asked 6/2, 2012 at 9:26
2
I am testing an app with ios uiautomation and I need to verify the color of some static text controls. Is this possible? I didn't see any methods or properties that allow access to text styling.
Slumberous asked 20/6, 2011 at 19:48
3
I've created a simple javascript for my iOS app that I'd like to run simultaneously on multiple iOSDevices connected via USB to one host Mac machine. Launching instruments connected to an iPhone fr...
Episiotomy asked 13/3, 2012 at 20:29
3
Solved
I have an app. There is a button in the app, which, if clicked, exits the app. I am testing the app using UIAutomation instruments. I want to test this button. But after the app exits, the instrume...
Principate asked 4/5, 2012 at 18:28
4
Solved
I'm trying to access the value() of a UIAStaticText (a UILabel in the objective C code) JavaScript object. I can set the value just fine using setValue() and I can confirm that the simulator update...
Thegn asked 7/10, 2011 at 13:59
3
my app is using location services, and for automated testing, I want to be able to dismiss the "APP Would Like To Use Your Current Location" popup. However, when I try to do this in Instruments wit...
Cadre asked 26/3, 2013 at 18:59
2
I am currently automating our iOS testing on jenkins. So far I had no problems with running unit tests, converting OCUnit into JUnit and generating code coverage in Cobertura format (lots of googli...
Ribaldry asked 19/11, 2012 at 12:20
2
(Xcode 4.5)
When running instruments from the command line it works the first time but then it won't run again until after I reboot.
The verbose output from Instruments includes this:
Instrument...
Automatize asked 25/9, 2012 at 16:30
2
I am using UIAutomation, through Instruments from Xcode, to do something on iPhone, and got a weird exception:
UIATargetHasGoneAWOLException.
Anybody know what does this exception mean?
Lumber asked 10/3, 2012 at 0:15
4
Solved
I've created a universal binary using iOS 4.2 and Xcode 3.2.5. I'm trying to do some automation testing on the application and since the interfaces are slightly different between the iPad and iPhon...
Perversion asked 3/12, 2010 at 20:53
1
Solved
I know starting from Xcode 4.2 it is possible to run UIAutomation scripts through command line. I've tried this and is working perfectly fine for me in simulator. I'd like to know how to get this r...
Rodd asked 8/3, 2013 at 4:41
© 2022 - 2024 — McMap. All rights reserved.