[
http://mifosforge.jira.com/browse/MIFOS-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57913#action_57913
]
jbrewster commented on MIFOS-2964:
----------------------------------
Kojo mentioned the script works for him in Selenium IDE. I played with it more
and found it works if I slowed the scripted using the "fast/slow" gauge in
Selenium IDE to medium speed on my machine. Selenium may need some sort of
wait before -
click
//img[contains(@src,'data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==')]
Also, the "click ext-gen14" commands don't call out specific office names.
What if another office is added so now what used to be office xyz is now mapped
so ext-gen14 is now office abc? Can some other id be used to make this more
robust?
> 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