How can we validate dyanmic text in xpath?
Can you elaborate on your intention?
If you want to use dynamic elements, I believe this article has the correct information for you:
Im trying to validate anu text in the textview element
android.view.ViewGroup/android.view.ViewGroup/android.widget.TextView[@text += '*']
@emmanuel Use a dynamic element with the ‘Get text (if visible)’ action and save the value to a parameter.
Then, continue with other steps (Click e.g.) and condition them to execute if the new parameter’s value equals to the text you searched for.
Will try this