Yoshihiko Yaegashi wrote:
Hi, I test the virt-manager with the dogtail. I cannot make a 'table cell' activate. In the following descriptions of the attached file, because activate('Domain-0', roleName='table cell') doesn't activate, "Open" button is not sensitive. ... activate('Domain-0', roleName='table cell') click('Open', roleName='push button') ... Can I ask your advice on something? Hi, Glad to see you're working on testing virt-manager with dogtail! I'd suggest you try: click('Domain-0', roleName='table cell', raw=True) click('Open', roleName='push button') To force an actual mouse event to be simulated, as opposed to just calling AT-SPI actions. Sometimes this is necessary as a workaround, and I've actually been thinking about making it the default in future versions of dogtail. Thanks, Zack N.B. Please convert "localhost" into "your server name" within the source code of the attached file. Thanks Yaegashi |