I'm trying to write automation scripts for my app and my problem is that Xcode UI Automation just can't see the elements of TTTAttributedLabel class. Getting full elements tree shows no sign of those TTTAttributedLabel elements. I'm using Xcode 6.1.1
Xcode UIAutomation can't interact with TTTAttributedLabel
793 Views Asked by Sergii Kim At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in XCODE
- Using Storyboard Reference
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Error when creating UIImage
- fade in an bounce animation subview
- How to delete static library ".a" file from xcode project?
- Error in main.storyboard
- Is the compiler Xcode uses to produce Assembly code a bad compiler?
- Using paths bonded to a XCode project to be shared
- How to set the time of Local notification in app to random between two times? (swift)
- "Invalid Signature, code object not signed at all" error
- Alarming memory increase with custom segue
- Display both alertTitle and AlertBody on a custom WatchKit notification
- How to make a CocoaPods project work on OS X El Capitan & Xcode 7 Beta?
- Cannot use CTRL+Drag for making a button action in Xcode?
- Labels properties changing in Xcode
Related Questions in AUTOMATION
- Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights
- Automating Telnet Scripts from .bat with a teamspeak instance
- schedule and automate sqoop import/export tasks
- Dynamic @Test generation in TestNG
- detecting a file downloaded in selenium java
- Can I automate auto-app installation on my Android device?
- C# Program automation - Program hangs/doesn't work
- Saving Excel workbook as PDF gives me an OLE error 800A03EC
- Appium-How to send SMS for login verification purpose during automation test
- How to maximize browser window with helium using Java?
- Appium iOS automation using Java : get element using accessibility Id?
- Looking to run automated jobs in .NET application
- How to click the back navigation button of the browser using helium?
- Firefox automatically choose certificate, without ui dialog
- Test class not found in selected project
Related Questions in APPIUM
- Reopening the application freshly through appium java script for Next Testcase
- Not able to select option from dropdown box in an android mobile application
- How to run .apk on Saucelabs using Android emulator?
- Error when running Appium driver : Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/remote/HttpVerb
- Instruments crashed on startup when Appium server is launched
- appium ios python "an error occured while executing user supplied javascript"
- Keyword 'AppiumLibrary.Open Application' expected 1 to 2 non-keyword arguments
- Appium: Change Android DatePicker value Javascript/NodeJS
- How to start the Appium server in iOS machine through Java code
- Appium-How to send SMS for login verification purpose during automation test
- Appium iOS automation using Java : get element using accessibility Id?
- Backdoor concept in Appium (like in Calabash) for UI testing
- Launching the whole test suite with Appium
- Appium xpath escaping apostrophes
- Appium waitForElementByName always returns state: pending
Related Questions in TTTATTRIBUTEDLABEL
- TTTAttributedLabel custom addLinkToURL not working
- How can I use ASTextNode with TTTAttributedLabel
- TTTAttributedLabel clickable truncation token
- Detecting links in html (with changing positions) in UILabel (TTTAttributedLabel)
- Make UILabel Text Clickable
- TTTAttributedLabel with large amounts of text which requires scrolling
- Clickable link in TTTAttributedLabel with Swift
- TTTAttributedLabel links not clickable after adding a UITapGestureRcognizer on the label
- TTTAttributedLabel, not able to run on iOS 5.1 device
- how to set background color of range in TTTAtributedLabel
- How to reduce length of links OR set a fixed length for links detected in TTTAttributedLabel
- How to make TTTAttributedLabel vertically align center with truncated tail
- In TTTAttributedLabel two different text color not working
- UITableViewCell indentation funkiness
- "Unrecognized selector sent to instance" when selecting text
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
By default
TTTAttributedLabelisn't an accessibility element. It works as custom container and provides accessibility for links/phones and other detected data. To change this behaviour subclassTTTAttributedLabeland override methods ofUIAccessibilityElementprotocol.E.g. return
YESin-(BOOL)isAccessibilityElementmethod andTTTAttributedLabelwill work asUILabel