Trying to use content description with partial description to find element.
Has anyone had success in doing this?
Thanks in advance.
Trying to use content description with partial description to find element.
Has anyone had success in doing this?
Thanks in advance.
Yes. I just coded something like this the other day. I’m not at work right now but it was something simple like:
buttons = apm.tags('UIAButton')
buttons.each do |button|
if button.value.to_s.include?(partial_description)
return button
end
end
Thank you… I still can’t get it to work… sigh