Skip to content Skip to sidebar Skip to footer

Is It Possible With Androidviewclient To Obtain And Print Button Status?

I am using androidviewclient 11.5.6 and trying to automate BLE application having powerSwitch button. I want to obtain the status of button and print the status. Is it possible wit

Solution 1:

If I understand correctly what you are looking for is

com_csr_csrmeshdemo___id_powerSwitch = self.vc.findViewByIdOrRaise("com.csr.csrmeshdemo:id/powerSwitch")
print "Light", com_csr_csrmeshdemo___id_powerSwitch.getText()

Post a Comment for "Is It Possible With Androidviewclient To Obtain And Print Button Status?"