MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / getId

Method getId

src/com/dtmilano/android/viewclient.py:517–533  ·  view source on GitHub ↗

Gets the L{View} Id @return: the L{View} C{Id} or C{None} if not defined @see: L{getUniqueId()}

(self)

Source from the content-addressed store, hash-verified

515 return None
516
517 def getId(self):
518 """
519 Gets the L{View} Id
520
521 @return: the L{View} C{Id} or C{None} if not defined
522 @see: L{getUniqueId()}
523 """
524
525 try:
526 return self.map['resource-id']
527 except:
528 pass
529
530 try:
531 return self.map[self.idProperty]
532 except:
533 return None
534
535 def getContentDescription(self):
536 """

Callers 15

__getXMethod · 0.95
__getYMethod · 0.95
getXYMethod · 0.95
getCoordsMethod · 0.95
obtainSelectorForViewMethod · 0.95
obtain_selectorMethod · 0.95
__smallStr__Method · 0.95
__tinyStr__Method · 0.95
__microStr__Method · 0.95
testViewWithoutIdMethod · 0.95
findTargetsMethod · 0.80

Calls

no outgoing calls

Tested by 4

testViewWithoutIdMethod · 0.76
testGetIdMethod · 0.64
__getClassAndIdMethod · 0.64