51Testing软件测试论坛

标题: CaptureBitmap方法 [打印本页]

作者: tcjlml    时间: 2008-6-18 17:22
标题: CaptureBitmap方法
小弟有时会碰到CaptureBitmap方法捕捉的图片是全黑的,请教各位是因为什么原因呢?
作者: 风过无息    时间: 2008-6-19 09:05
加个等待时间看看吧.
作者: tcjlml    时间: 2008-6-19 11:14
您的意思是先wait 10 然后在调用capturebitmap?
作者: lqin1982121    时间: 2008-6-19 11:14
加sync看看
作者: tcjlml    时间: 2008-6-19 11:21
在调用前我都加过browser(...).sync的
捕捉到黑屏不是经常出现 但有时就会发生这样诡异的事……
作者: 假装不在    时间: 2008-6-19 12:08
看看是否系统问题。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2