open |
http://localhost:8080/tntconcept/pages/control_panel.jsf |
|
assertTitle |
|
|
mouseDown |
//div[@id='cmSubMenuID5']/*//td[@class='ThemeOfficeMenuItemText' and text()='Ofertas'] |
|
mouseUp |
//div[@id='cmSubMenuID5']/*//td[@class='ThemeOfficeMenuItemText' and text()='Ofertas'] |
|
waitForPageToLoad |
5000 |
|
clickAndWait |
//img[@title='Nuevo'] |
|
assertTitle |
|
|
type |
offer:number |
0001 |
selectAndWait |
offer:organization |
label=Autentia |
assertTitle |
|
|
select |
offer:contact |
label=VĂctor Madrid |
type |
offer:title |
Oferta Crisis |
type |
offer:description |
Esta es la oferata |
click |
//img[@onclick="offer_3AvalidityDateCalendarVar._popUpCalendar(this,document.getElementById('offer:validityDate'),'d/MM/yyyy')"] |
|
click |
link=12 |
|
click |
//img[@onclick="offer_3AmaturityDateCalendarVar._popUpCalendar(this,document.getElementById('offer:maturityDate'),'d/MM/yyyy')"] |
|
click |
//div[@id='offer:maturityDateSpan_calendarDiv']/table/tbody/tr[2]/td/span/table/tbody/tr[4]/td[4]/a |
|
clickAndWait |
//img[@title='Guardar'] |
|
assertTitle |
|
|
verifyTextPresent |
Oferta Crisis |
|