I have a text view with message let's say "Only this portion of the message can be clicked",where "this portion" has a clickableSpan attached to it. Is there a way I can touch only on the portion which has clickable span in the message, to verify the next scenarios.
The text view looks like this:
[{"id"=>"message",
"enabled"=>true,
"contentDescription"=>nil,
"class"=>"com.xyz.mobile.android.view.WhitneyBookTextView",
"text"=>
"Only this portion of the message can be clicked.",
"rect"=>{"center_y"=>934.5, "center_x"=>381.0, "height"=>67, "y"=>901, "width"=>598,"x"=>82},
"description"=>
"com.xyz.mobile.android.view.WhitneyBookTextView{231r6178 VFED..CL ........ 42,0-640,67 #6f094a app:id/message}"}]
Is there a way it can be clicked?
touch(query("* id:'message'")) does not work.