Hi All,
I’m trying to get all the SMS(messages) data list and then click the last message arrived(first one in the list).
I have no idea which object to use in order to get this data:
![](//discuss.appium.io/uploads/default/original/2X/9/9fc48671f6cf5a35994972ed1da13dd00d700e47.png)
I have tried using the ListView ID that way but I can’y manage:
[FindsBy(How = How.Id, Using = “com.android.mms:id/conversation_list”)]
public IWebElement ConversationList { get; set; }
Thanks
Yaniv
Hi @Yaniv_Eliav please try with below possibilites
List s = driver.findElements(By.id(“com.android.mms:id/conversationList_item_root”));
replace Id to = “android:id/list”
or else if you want only read and unread sms count please try with all below possible ways becoz we can able to get native properties.
id : “com.android.mms:id/from”
or
id : “com.android.mms:id/avatar”
or
id: “com.android.mms:id/subject”