Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017499
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-06-06 09:112011-06-06 17:13
ReporterelopioView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017499: It is not possible to enter text with selenium on date fields

DescriptionThe function sendKeys of selenium seems to enter the text in a form date field but then it is cleared and the field is left empty.
It doesn't work either when I try to clear the field using the Backspace key with send keys.
Currently, we have a workaround for both issues: use the smartclient setValue instead of entering the text, and using the selenium clear function. The problem is that these functions don't test all the functionality that a user can do with the date item. We are using the javascript directly, instead of simulating the user interaction through the browser.

Both actions work properly on simple text items.
Steps To ReproduceThere is a test FIE0040_EnterValueInDateItem that checks the behaviour of the date items.
In order to reproduce the issue, the workaround have to be commented out from the definition of the text item in the DateItem class.
Proposed SolutionMake the text item of a date field testable with selenium, just as the rest of text items are.
Tagstestability
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 00174933.0MP0 closedmtaal Selenium tests are broken because of a change in the Date fields behaviour 

-  Notes
(0038015)
elopio (reporter)
2011-06-06 09:13

The backspace key has never worked on the date items.
The problem with entering text appeared last Wednesday, june 1st, 2011: http://builds.openbravo.com/view/qa-internal/job/qa-pi-gui-oracle/71/testReport/junit/com.openbravo.test.integration.erp.modules.client.application.testsuites.standardview.form.fields/FIE0040_EnterValueInDateItem/valueShouldBeEnteredOnTheField_0_/ [^]

- Issue History
Date Modified Username Field Change
2011-06-06 09:11 elopio New Issue
2011-06-06 09:11 elopio Assigned To => alostale
2011-06-06 09:11 elopio Modules => Core
2011-06-06 09:11 elopio Tag Attached: testability
2011-06-06 09:13 elopio Note Added: 0038015
2011-06-06 17:13 elopio Relationship added duplicate of 0017493
2011-06-06 17:13 elopio Status new => closed
2011-06-06 17:13 elopio Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker