open |
http://localhost:8080/tntconcept/pages/control_panel.jsf |
|
assertTitle |
|
|
mouseDown |
//div[@id='cmSubMenuID13']/*//td[@class='ThemeOfficeMenuItemText' and text()='Inventario'] |
|
mouseUp |
//div[@id='cmSubMenuID13']/*//td[@class='ThemeOfficeMenuItemText' and text()='Inventario'] |
|
waitForPageToLoad |
5000 |
|
clickAndWait |
//img[@title='Nuevo'] |
|
assertTitle |
|
|
click |
//img[@onclick="inventary_3AbuyDateCalendarVar._popUpCalendar(this,document.getElementById('inventary:buyDate'),'d/MM/yyyy')"] |
|
click |
link=29 |
|
type |
inventary:cost |
25 |
type |
inventary:serialNumber |
123456 |
select |
inventary:type |
label=PC portatil |
clickAndWait |
//img[@src='/tntconcept/img/save.gif'] |
|
assertTitle |
|
|
verifyTextPresent |
123456 |
|