0

If I have a label with accessibility label "You've done some random task". How will i pass that accessibility label to view to touch that element. (format required -- view marked:'You've done some random task')

If i give in above format, frank doesn't recognise "You've" and is unable to find the element. Does anyone know how to pass accessibility labels with apostrophe in that using frank ios?

4

2 回答 2

1

我遇到了类似的问题,这对我有用

view marked:\"You've done some random task\"
于 2013-12-27T13:10:02.510 回答
0

用 \ 转义特殊字符应该可以。

尝试使用:

view marked:'You\'ve done some random task'
于 2013-04-24T15:16:34.150 回答