Page 1 of 1

Verify Andriod Element selected

Posted: Wed Aug 13, 2014 8:24 am
by Rakesh123
Hi,

I am doing automation on Andriod Application.

I want to verify whether the particular andriod element selected or not.How to do this for android element?

Thanks,
Rakesh

Re: Verify Andriod Element selected

Posted: Thu Aug 14, 2014 9:10 am
by Support Team
Hello Rakesh,

It strongly depends on your elements and the properties they deliver. So if your element contains a “Selected”-property you could use this for validation. May I ask if you could provide a Ranorex snapshot of your application under test. This would allow us to point to a possible solution for validating your specific element.

Regards,
Robert

Verify Andriod Element Selected

Posted: Mon Aug 18, 2014 5:39 pm
by Rakesh123
Hi,

I am doing automation on Andriod application.

My requirement is to verify that whether the particular item in the list is selected or not.

I tried but I didn't get any way to verify this scenario as there is no property as 'Selected'

PFA the Ranorex Screenshot.

First screen shot is displaying the childrens under the list.

Second is Ranorex Snapshot file which is displaying all the attributes of List.

Third is Ranorex Snapshot file which is displaying all the attributes of Child of the List

Thanks,
Rakesh

Re: Verify Andriod Element selected

Posted: Wed Aug 20, 2014 2:21 pm
by Support Team
Hi Rakesh,

Thank you for providing the requested snapshot file.

First of all, I would suggest updating Ranorex to our latest version. Instrument your app once again and check if the object recognition has increased. If you are still not able to retrieve a proper attribute, you will need to define your own property which can be accessed via an invoke action.

Further information about retrieving user defined members can be found here:
http://www.ranorex.com/support/user-gui ... sting.html (Search for ‘Action # 10’).

Regards,
Robert