mercredi 15 juin 2016

UITesting How to get a number that's a part of the tabBar section?


Sorry about the title, didn't really know how to word this question. Here's a picture to help:enter image description here

I want to be able to get that number "5" next to the Notifications tab into a variable and am struggling to do so. The "Notifications" tab is just this button

XCUIApplication().tabBars.buttons["Notifications"]

Aucun commentaire:

Enregistrer un commentaire