loadFrenchAccountingData
echo Load French accounting demo data for next selenium test
echo begin standard procedure
open https://localhost:8443/webtools/control/logout
open https://localhost:8443/webtools/control/setSessionLocale?newLocale=en
type USERNAME admin
type PASSWORD ofbiz
clickAndWait //input[@value='Login']
echo end of standard procedure
clickAndWait link=Import/Export
assertTitle exact:OFBiz: Web Tools: XML Data Export
clickAndWait link=XML Data Import
echo change DATAFILE according to your path to DemoAccountingData_fr.xml
type filename DATAFILE
captureEntirePageScreenshot /var/www/selenium.neogia.org/ofbizAddOn/results/loadFrenchAccountingData-1.png
clickAndWait //input[@value='Import File']
captureEntirePageScreenshot /var/www/selenium.neogia.org/ofbizAddOn/results/loadFrenchAccountingData-2.png
assertText //div/div[2]/p[2] Got 1182 entities to write to the datasource.
echo Data loaded ! success.