Cannot reliably change a setting in Control UI
Posted: 17 Sep 2016 19:51
I am trying to change the slidebar setting for Airplane Mode. Suppose that Airplane Mode is OFF and I want to toggle in ON. I can use Control UI to get to the Airplane Mode toggle… Settings> More
The Show Overlay screen now indicates a variety of things for that toggle button:
Check(“ON”)
Check(692,320)
CheckByld(“android:id/switchWidget”)
Click(“ON”)
Click(692,320)
ClickByld(“android:id/switchWidget”)
Uncheck(“ON”)
Uncheck(692,320)
unCheckByld(“android:id/switchWidget”)
Questions:
Do these commands show the current state of the control or are they possible actions to take on the control? This is very confusing! Are Check (692,320) and Click(692,320) actions? Are they interchangeable? Are they toggles?
Does check(“ON”) telling that the toggle IS on or does executing it does it TURN the toggle on?
What are Check/Click/UncheckByld? What does the name “Byld” stand for? States or actions?
I can get this work…sometimes, but not consistently. CheckByld(“android:id/switchWidget”)
works most of the time, but not consistently. What I am doing wrong? What is the best way to accomplish what I want to do?
The Show Overlay screen now indicates a variety of things for that toggle button:
Check(“ON”)
Check(692,320)
CheckByld(“android:id/switchWidget”)
Click(“ON”)
Click(692,320)
ClickByld(“android:id/switchWidget”)
Uncheck(“ON”)
Uncheck(692,320)
unCheckByld(“android:id/switchWidget”)
Questions:
Do these commands show the current state of the control or are they possible actions to take on the control? This is very confusing! Are Check (692,320) and Click(692,320) actions? Are they interchangeable? Are they toggles?
Does check(“ON”) telling that the toggle IS on or does executing it does it TURN the toggle on?
What are Check/Click/UncheckByld? What does the name “Byld” stand for? States or actions?
I can get this work…sometimes, but not consistently. CheckByld(“android:id/switchWidget”)
works most of the time, but not consistently. What I am doing wrong? What is the best way to accomplish what I want to do?