Skip to main content
Bumped by Community user
Bumped by Community user
better formatting
Source Link
Yu Zhang
  • 9.9k
  • 5
  • 27
  • 48

01)How to How To Locate Elements using selenium web driver when only Unique value is 'index'?Resource-id Resource-id,ClassClass and PackagePackage are not unique.

Below Layout taken from Android UI Automator

enter image description here

Resource-id = android:id/menuitem

Class = android.widget.RelativeLayout

Package = android

Resource-id = android:id/menuitem

Class =       android.widget.RelativeLayout

Package =     android

01)How to How To Locate Elements using selenium web driver when only Unique value is 'index'?Resource-id,Class and Package are not unique.

Below Layout taken from Android UI Automator

enter image description here

Resource-id = android:id/menuitem

Class = android.widget.RelativeLayout

Package = android

How To Locate Elements using selenium web driver when only Unique value is 'index'? Resource-id,Class and Package are not unique.

Below Layout taken from Android UI Automator

enter image description here

Resource-id = android:id/menuitem

Class =       android.widget.RelativeLayout

Package =     android
edited title
Link
lak
  • 567
  • 3
  • 14
  • 27

How to How To Locate Element using selenium web driver when Unique property is 'index'?

added 49 characters in body
Source Link
lak
  • 567
  • 3
  • 14
  • 27

How01)How to How To Locate Elements using selenium web driver when only Unique value is 'index'?Resource-id,Class and Package are not unique.

Below Layout taken from Android UI Automator

enter image description here

Resource-id = android:id/menuitem

Class = android.widget.RelativeLayout

Package = android

How to How To Locate Elements using selenium web driver when only Unique value is 'index'?Resource-id,Class and Package are not unique.

enter image description here

Resource-id = android:id/menuitem

Class = android.widget.RelativeLayout

Package = android

01)How to How To Locate Elements using selenium web driver when only Unique value is 'index'?Resource-id,Class and Package are not unique.

Below Layout taken from Android UI Automator

enter image description here

Resource-id = android:id/menuitem

Class = android.widget.RelativeLayout

Package = android

Source Link
lak
  • 567
  • 3
  • 14
  • 27
Loading