Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
160 views

Write a program that can play the 2048 app

I thought it would be fun to experiment with algorithms that can play the game 2048. I'm familiar with Objective-C development and iOS. Is there any way, perhaps through scripting in the iPhone ...
Regan 's user avatar
  • 1,497
1 vote
1 answer
604 views

How to access a UIATableCell within the app window using UIAutomation in Instruments?

I have this app for which I am writing automated test scripts using the UIAutomation framework that apple has provided. In my app I want to tap a button which is the child of a UIATableCell() which in ...
Farhan Ahmed Wasim's user avatar
2 votes
2 answers
2k views

Tap command on a button not working in UIAutomation

I have this button in an app. I want to simulate a tap on the button. The button is located as follows: target>frontMostApp()>windows()[0]>buttons()[2]. My javascript code is as follows: target....
Farhan Ahmed Wasim's user avatar
0 votes
1 answer
443 views

How to automate actions performed on the iPhone simulator?

Right now I am automating tests for an app using UIAutomation class. But my app has certain features which, I believe, can't be tested using just UIAutomation. For example, there is a feature that if ...
Farhan Ahmed Wasim's user avatar
0 votes
1 answer
3k views

How to use the function ` performTaskWithPathArgumentsTimeout` of the UIAutomation class?

I am automating some test cases for an iPhone app and I am using the UIAutomation class. I want to use the function performTaskWithPathArgumentsTimeout, which I believe runs some external script. But ...
Farhan Ahmed Wasim's user avatar
7 votes
3 answers
2k views

How to continue testing an iOS app, using UIAutomation instrument, even after the app exits?

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 instrument ...
Farhan Ahmed Wasim's user avatar
0 votes
2 answers
185 views

How can I test if a link is opened from my app using UIAutomation?

I have this app that has a login screen with fields for username and password. Below the fields there is this 'Forgot password link'. I am testing this app using UIAutomation class. How can I test if, ...
Farhan Ahmed Wasim's user avatar