[
http://mifosforge.jira.com/browse/MIFOS-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kojo Gambrah-Sampaney updated MIFOS-2964:
-----------------------------------------
Selenium can be used with the extjs tree control. The HolidayTest acceptance
test had been already been modified to select offices with given IDs. This was
achieved by causing Selenium to run Javascript that selects the nodes through
the DOM of the extjs control. This is optimal because it doesn't require
causing Selenium to wait until the browser has completed rendering the control.
> Investigate how to use Selenium with new branch office control
> --------------------------------------------------------------
>
> Key: MIFOS-2964
> URL: http://mifosforge.jira.com/browse/MIFOS-2964
> Project: mifos
> Issue Type: Task
> Components: Build and Testing
> Affects Versions: Shamim D
> Reporter: jbrewster
> Assignee: Kojo Gambrah-Sampaney
> Priority: Major
> Attachments: seleniumForDefineHoliday
>
>
> Branch office holiday is a new feature for the Shamim D release. As part of
> this feature, a new control has been added to the "Define new holidays" page.
> This new control doesn't allow for simple identification by Selenium.
> This task is to investigate what it will take to be able to execute
> acceptance tests which define branch level holidays for the various holiday
> types, including the new type "moratorium". Simply clicking on the controls
> as recorded by Selenium IDE does not work.
> Recommended steps:
> 1. set up local instance and try to execute attached selenium ide script
> (assumes user is already logged into Mifos). Should see error when executing:
> click
> //img[contains(@src,'data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==')]
> 2. check online for tips on how Selenium can use the ext tree control. a
> couple of possible threads:
> http://www.extjs.com/forum/showthread.php?73444-TreePanel-selection-with-Selenium
> http://www.extjs.com/forum/showthread.php?74136-Selenium-Click-on-TreeItem
> 3. Experiment with different selenium to drive this UI control.
> Experimentation can be done with Selenium IDE - outside of Mifos acceptance
> testing.
> 4. Report results on this issue. I'm not sure how the current holiday test
> is passing - looks like at least one office needs to be checked to pass UI
> validation. Holiday tests are:
> https://ci.mifos.org/hudson/job/head-master/lastStableBuild/org.mifos$mifos-acceptanceTests/testReport/org.mifos.test.acceptance.holiday/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues