Menu
  • HOME
  • TAGS

UIImagePickerController when editing: buttons()[2] could not be tapped

ios,objective-c,uiimagepickercontroller,ui-automation,ios-ui-automation

I was also stuck with this very same problem and I found this solution: var b = target.frontMostApp().mainWindow().buttons()[2]; var x = b.rect().origin.x + 1; var y = b.rect().origin.y + 1; target.tap({x:x, y:y}); It's not very nice, but it works......

iOS UI Automation wait until web view is ready and rendered

javascript,ios,webview,ui-automation,ios-ui-automation

The Illuminator framework (full disclosure, I wrote it) provides a function called waitForChildExistence() in its Extensions.js that allows you to continuously evaluate a reference to an element until it actually appears. You would do something like this to wait up to 10 seconds for the webview to load: var webView...

IOS UI Automation - working with external Data

javascript,ios7,xcode5,ios-ui-automation

Text file This is something I came up with based on performTaskWithPathArgumentsTimeout method: var target = UIATarget.localTarget(); var host = target.host(); var result = host.performTaskWithPathArgumentsTimeout( "/bin/cat", ["/Users/username/Documents/test.txt"], 5) var content = result.stdout; UIALogger.logMessage(content); Content of the test.txt: Hello World! This is a test. And this is how it looks in...

iOS uiautomator application names

ios,xcode6,instruments,ios-ui-automation

I was able to find the answer and hopefully it helps others as well: Calendar == MobileCal.app Mail == MobileMail.app Photos == MobileSlideShow.app Messages == MobileSMS.app Camera == Camera.app ...

Looking for tutorial about automation real iOS devices with Appium [closed]

ios,automation,ui-automation,ios-ui-automation,appium

I have mentioned both the ways here along with basic scripting. Hope it helps....

Disable Hardware Keyboard for iOS Simulator using UIAutomation

ios,keyboard,xcode6,simulator,ios-ui-automation

If I understood your question correctly, you need bulletproof way to enter text. I just use setValue for that. Like this: UIATarget.localTarget().frontMostApp().textFields().Login.setValue('sofa');

Appium error: uncaughtException: Cannot read property 'executeAtom' of null

javascript,ios,automated-tests,appium,ios-ui-automation

please follow this link in github. I have got a solution that is happening because of async error. https://github.com/appium/appium/issues/5177...

How to programatically get the UI Hierarchy in my automation script?

javascript,instruments,ios-ui-automation,xcode-instruments

logElementTree writes to the log, and does not return a value. The only way to get the hierarchy from within code is to recursively traverse it yourself, e.g. visiting the .elements() array of each element.

Extract UIATableCell value

javascript,ios,ios-ui-automation

To extract the "xyz" string from an element, you should be able to use the .name() method on it. In this case, it looks like that would be TableViewInfo.cells()[0].name()....

Instruments > Automation - Script and Editor Log open simultaneously

instruments,ui-automation,ios-ui-automation

No :) I recommend to edit script in an external editor and then run via console. That's easy: instruments -w "iPad Air" -t "Automation" ~/My.app -e UIASCRIPT my_script.js

Perfecto and mobile driver plugin for selenium working from a windows laptop

ios-ui-automation

YES !! Perfecto allows you to execute all your tests on real devices from any browser and OS system. we also recommend you to use remote web driver (appium based tests). https://community.perfectomobile.com/posts/992642-remotewebdriver-vs-webdriver in order to test an IOS app you need the IPA which uploaded automatically to Perfecto devices: more...

UI Automation, iOS - How to type special characters like “é” or “á”?

ios,ios7,ios-ui-automation

UIATarget.localTarget().frontMostApp().mainWindow().searchBars()[0].tap(); UIATarget.localTarget().frontMostApp().mainWindow().searchBars()[0] .setValue("é & á"); ...