Hi Guys,
I am doing automation testing on android mobile device.
My scenario is to verify the text displayed on the mobile screen or not, when I click on some button.
I can able to view the screen and text in mobile device but don't know how to verify the text displayed or not.
When I try to capture that particular object it is captured as 'Container-content'.Pls help me in sorting this.
Thanks,
Rakesh
Verify Text
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Verify Text
Hi Rakesh,
May I ask you to send us a Ranorex snapshot file of the text respectively of the container which represents the text?
The following link will show you how to generate a snapshot file: Creating Ranorex Snapshot Files.
This will help us to analyze the issue!
Thanks,
Markus
May I ask you to send us a Ranorex snapshot file of the text respectively of the container which represents the text?
The following link will show you how to generate a snapshot file: Creating Ranorex Snapshot Files.
This will help us to analyze the issue!
Thanks,
Markus
Re: Verify Text
Hi marcus,
Thanks for the reply.Please find the attached snap shot.
Thanks,
Rakesh
Thanks for the reply.Please find the attached snap shot.
Thanks,
Rakesh
You do not have the required permissions to view the files attached to this post.
Re: Verify Text
Hi, I'm afraid, there seems to be no text that could be validated. All "texts" in your posted snapshots appears to be just images. In a theory, you could use image validation, but that's good mainly for "static" images, which is most probably not your case. I think the best you can do is to ask your application developers to expand the AUT with some properties or use existing one (e.g. Name or DisplayName found in General section) to store the desired values.
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: Verify Text
Hi Marcus,
I need to verify the text(-1) displayed in the object snap shot which I have attached.
Please find the solution for this
Thanks;
Rakesh
I need to verify the text(-1) displayed in the object snap shot which I have attached.
Please find the solution for this
Thanks;
Rakesh
Re: Verify Text
I can't speak for Marcus, but in my opinion, there is no way to validate this text as a "text". This text is not available anywhere in your provided snapshot so Ranorex apparently don't see it as a "text". The only way around seems to be the image validation. Or you will have to ask the AUT developers to implement better accessibility support.
Last edited by odklizec on Thu Jan 22, 2015 8:14 am, edited 1 time in total.
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Verify Text
Hi Rakesh,
As odklizec already wrote there is unfortunately no way to validate this text as it is not represented by a valid attribute, so thanks to odklizec for your explanation! It is perfectly right.
Regards,
Markus
As odklizec already wrote there is unfortunately no way to validate this text as it is not represented by a valid attribute, so thanks to odklizec for your explanation! It is perfectly right.
Regards,
Markus