Dynamic Changing element in Javascript Appium automation

Hi All,

I have a scenario,

When my app starts it gives a timestamp last updated on “Todays date” at “Present time”. How to handle this dynamic element in Appium automation using javascript.

Ex: last updated on “05/28/2019” at “08:57pm”

Please need suggestion.

Thanks and Regards,
Sumanth Hegde

@sumanth0309
try using xpath axes.
travel to your dynamically changing element with reference of some static element