Data entered with SetText is not getting printed in Device View or Real Device

Data entered with SetText is not getting printed in Device View or Real Device but same is getting printed in Recording Actions. Need help on why data is not getting printed when Recording Mobile App.