Hello Pavel, its ok
The element is failing to capture the snapshot
it is failing when /text[@text=$BlogName] and passing when /text[@text='test blog'] while the variable is defined to be 'test blog'.
Thank you for your help.
Anrdoid studio emulator and Tracking element in Mobile app
Re: Anrdoid studio emulator and Tracking element in Mobile app
Hi,
I'm afraid, it's impossible to tell what's wrong without seeing, at very least, snapshot and exact steps in your test. Could you please post entire test suite, so we can review it?
What I can tell for sure is, that if you are using xpaths like the one from failure (with all these indexes), the xpath will most certainly fail at some point. You should definitely remove the indexes and replace them with something else. I'm using Class attribute a lot in my Android tests. Check if you app does not have some useful details in Class or other attributes. I'm afraid, Android apps, and mobile apps as such, have a pretty nasty UI to automate and manual editing of every tracked xpath is a must
I'm afraid, it's impossible to tell what's wrong without seeing, at very least, snapshot and exact steps in your test. Could you please post entire test suite, so we can review it?
What I can tell for sure is, that if you are using xpaths like the one from failure (with all these indexes), the xpath will most certainly fail at some point. You should definitely remove the indexes and replace them with something else. I'm using Class attribute a lot in my Android tests. Check if you app does not have some useful details in Class or other attributes. I'm afraid, Android apps, and mobile apps as such, have a pretty nasty UI to automate and manual editing of every tracked xpath is a must
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Anrdoid studio emulator and Tracking element in Mobile app
Hi Pavel,
I am not getting class attributes identified in my APP!.
Do you know what can I use as emulator for ioS?
Thank you
I am not getting class attributes identified in my APP!.
Do you know what can I use as emulator for ioS?
Thank you
Re: Anrdoid studio emulator and Tracking element in Mobile app
Hi,
Well, maybe there are no class attributes implemented? In this case, you may need to use labels of other elements and xpath relationship operators to traverse to expected input element. But even this may not be enough, as was the case of "hidden" hints, which were not exposed in the snapshot you posted.
As for iOS emulator, see this page...
https://fossbytes.com/best-ios-emulator ... ndows-mac/
Well, maybe there are no class attributes implemented? In this case, you may need to use labels of other elements and xpath relationship operators to traverse to expected input element. But even this may not be enough, as was the case of "hidden" hints, which were not exposed in the snapshot you posted.
As for iOS emulator, see this page...
https://fossbytes.com/best-ios-emulator ... ndows-mac/
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration