dogtail-devel To activate a 'table cell'



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?

N.B. Please convert "localhost" into "your server name" within
the source code of the attached file.

Thanks
 Yaegashi
#!/usr/bin/python
from dogtail.procedural import *

focus.application('gnome-panel')
focus.frame('Top Panel')
click('Applications', roleName='menu')
click('Virtual Machine Manager', roleName='menu item')
focus.application('virt-manager.py')
focus.dialog('Open connection')
click('Connect', roleName='push button')
focus.frame('Virtual Machine Manager (Xen: localhost)')
activate('Domain-0', roleName='table cell')
click('Open', roleName='push button')
focus.frame('Domain-0 Virtual Machine Console')
click('Virtual Machine', roleName='menu item')
click('Close', roleName='menu item')
focus.frame('Virtual Machine Manager (Xen: localhost)')
click('File', roleName='menu item')
click('Quit', roleName='menu item')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]