Hi All,
I am new to appium and trying to automate few basic cases using python. I was trying to verify if a checkbox is selected is not. Checked the web for it and found is_selected() attribute for verifying the state.
But when I use it, appium throws an error as follows:
el = self.driver.find_elements_by_id('com.twitter.android:id/phone_number_addr_book_checkbox').is_selected()
AttributeError: 'list' object has no attribute 'is_selected'
Can anybody please help me in this regard?
Also is there any feature for appium to take the error/fail scenario screenshot so that it can be viewed later for debugging purpose?
Platform - Android
Appium version - 1.2.2
Real Device
Client langauage - python
OS - Win 8.1
created
Sep '14
last reply
Sep '14
- 8
replies
- 5.4k
views
- 4
users
- 2
likes
- 2
links