How do you validate if a toast message appears inside an Activity? And does it store it in the repository as a unique UI element which is different from a toast message with different text but from the same Activity?
Thanks,
Miguel
Validation of toast in Android
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Validation of toast in Android
Hi,
Please take a look to following post
http://www.ranorex.com/forum/validating ... t4337.html
Regards,
Peter
Ranorex Team
Please take a look to following post
http://www.ranorex.com/forum/validating ... t4337.html
Regards,
Peter
Ranorex Team
Re: Validation of toast in Android
I have tried the approach of changing the RanoreXpath to the ff:
It does not work for me even if I change the app title to the package name like: com.example.mobileapptest
I am not sure if this is the right approach, because I am not even able to see the toast in the Ranorex Spy, so I am wondering how to even store the toast caption in the repository.
Regards,
Miguel
Code: Select all
/mobileapp[@title='yourAppTitle']//text[@caption~'ToastCaption]
I am not sure if this is the right approach, because I am not even able to see the toast in the Ranorex Spy, so I am wondering how to even store the toast caption in the repository.
Regards,
Miguel
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Validation of toast in Android
Hello Miguel,
Could you please post or send us ([email protected]) a Ranorex Snapshot of your application?
This would help us in analyzing your issue.
Please take a look at our User Guide for more information on how to create snapshot files.
Thanks in advance.
Regards,
Markus (T)
Could you please post or send us ([email protected]) a Ranorex Snapshot of your application?
This would help us in analyzing your issue.
Please take a look at our User Guide for more information on how to create snapshot files.
Thanks in advance.
Regards,
Markus (T)