Handle valuepattern in click API

Handle valuepattern in click API

>>> click('dlgWindows Security', 'lstUseanotheraccount')

Traceback (most recent call last):
  File "<pyshell#10>", line 1, in <module>
    click('dlgWindows Security', 'lstUseanotheraccount')
  File "C:\Program Files (x86)\VMware\CobraWinLDTP\ldtp\client.py", line 66, in __call__
    return self.__send(self.__name, args)
  File "C:\Python25\lib\xmlrpclib.py", line 1437, in __request
    verbose=self.__verbose
  File "C:\Program Files (x86)\VMware\CobraWinLDTP\ldtp\client.py", line 185, in request
    raise LdtpExecutionError(e.faultString.encode('utf-8'))
LdtpExecutionError: Unable to perform action

>>> click('dlgWindows Security', 'lstUseanotheraccount')
1

QA Notes:
Testing Done: Windows 7 SP1 "Windows Security" dialog
Documentation Notes:
Bug Number:
Reviewed by:
Approved by:
Mailto: