在find_windows中:
def conv(v):
import logging
logging.debug(v)
v1 = v
v2 = v1.encode('utf8')
return v2
windows = [win for win in windows
if title_regex.match(conv(handleprops.text(win)))]
文章来源于软件测试时代 http://www.testage.net/
发布: 2008-5-26 13:35 | 作者: tailorcai | 来源: 网络转载 | 查看: 44次 | 进入软件测试时代论坛讨论
在find_windows中:
def conv(v):
import logging
logging.debug(v)
v1 = v
v2 = v1.encode('utf8')
return v2
windows = [win for win in windows
if title_regex.match(conv(handleprops.text(win)))]
文章来源于软件测试时代 http://www.testage.net/