Tagged Questions

0
votes
0answers
8 views

Can I import data from excel sheet into instruments UIAutomation?

I want to write script for a screen where there are two fields and I just want to test with different possibilities of values for those fields, whether it will navigate to further screen. But ...
0
votes
1answer
31 views

UI Automation onAlert method not being called on simulator

Upon initial launch of my app, I get a permissions alert asking if I will allow the app to use my current location. My onAlert method successfully dismisses the alert on my device. When I run it on ...
4
votes
0answers
64 views

UIAutomation - different results from Instruments and Command Line

When I run a UIAutomation script in Instruments, everything works fine but when I run the exact same script from the command line, I get this error : Cannot perform action on invalid element: ...
2
votes
1answer
45 views

Automation issue on tabbar in iphone

I am using the automation on instruments tools check my application using the java script when i app have two tabbars when i click the second tab via javascript following code var target = ...
0
votes
1answer
104 views

iOS UI Automation for different languages

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 ...
0
votes
0answers
236 views

Running UIAutomation scripts on multiple iOS devices via Instruments command line

Are there any way to run UIAutomation scripts in multiple connected iOS devices? Currently I use instruments with -w switch along with UDID of each device? I appreciate your ideas.
-1
votes
1answer
136 views

How can I run Instruments from Python?

Anyone know how to run Instruments from Python? I tired to use os.system and it didn't work. If I run Instruments from a command line, I only need to run: instruments -w id -t xxxxxxxxxxxxxx xx.js ...
2
votes
1answer
200 views

Can't start trace when run instrument 4.5 from the command line on devices

I try to run Instruments 4.5 fromt he command line on devices. I have the following instruments -w UICD -t ...
2
votes
3answers
518 views

Instruments 4.5 and ios simulator 6.0. not started

In IOS Simulator 5.1 this code worked: `instruments -t ...
0
votes
1answer
48 views

how to get specific word out of sentence in UIAutomation?

If i need to check whether some specific word is present in some sentence, then what syntax/code i should use in javascript for UIAutomation?
1
vote
2answers
257 views

How to run UIAutomation using Jenkins?

I'm trying to combine Instruments UIAutomation with the CI by Jenkins. In the Jenkins project's configurations I defined a call a script: sh buildAndTest.sh That all it does is to call the uitest ...
2
votes
0answers
399 views

Running UIAutomation instruments from command line results in NSInvalidArgumentException

Here is what is happening: I create a brand new "Single View" application in Xcode 4.5.1, build it on the command line using this: xcodebuild -sdk iphonesimulator6.0 clean build ...
0
votes
1answer
322 views

Automation testing with instruments on device

I am trying to follow this post to run UIAutomation scripts on iOS devices from command line, but i can't make it work. This is the command i am currently using : instruments -t ...
3
votes
1answer
308 views

How to reset Instruments after Automation Instrument rejected command

(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: Instruments : ...
0
votes
1answer
182 views

How to screenshot a tapped button using iOS UIAutomation?

I tried the tapAndHold() function from UIAElement var target = UIATarget.localTarget(); target.frontMostApp().mainWindow().buttons()["Button"].tapAndHold() target.captureScreenWithName("shot") but ...

1 2 3 4 5
15 30 50 per page