It is another way to implement

def selectPosition(nameWin, cbo, nameItem):
        position=getallitem(nameWin, cbo).index(nameItem)       
        click(nameWin, cbo)
        for number in range(position):
                enterstring ('<down>')
        enterstring ('<enter>')

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772364

Title:
  ldtp fails with comboselect with error xmlrpclib.Fault: <Fault 8002:
  ''>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldtp/+bug/1772364/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to