[et-mgmt-tools] [RFC] virt-manager test by the dogtail

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

 



Hi,

I sent a mail to "dogtail-devel-list", but I hardly ever
get back a reply.
So I send a mail to this mailing list.

I test virt-manager by the dogtail.
I cannot make a 'table cell' active.

In the following descriptions of the attached file,
because activate('Domain-0', roleName='table cell') cannot make
a 'table cell' active, "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 sample 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')

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux