Open peidong-hu opened 9 years ago
新下载代码编译遇到的问题:
Exception in thread "main" java.lang.NullPointerException
at
org.bigtester.ate.model.data.TestDatabaseInitializer.setSingleInitXmlFile(TestDatabaseInitializer.java:206)
at
org.bigtester.ate.model.data.TestDatabaseInitializer$$FastClassBySpringCGLIB$$9a1ac46b.invoke(
2015-01-04 11:45 GMT-05:00 peidong-hu notifications@github.com:
when starting firefox browser, system should be able to select which firefox profile to start with.
The use case is, for example, set the profile to accept location share in a google maps application
— Reply to this email directly or view it on GitHub https://github.com/bigtester/automation-test-engine/issues/18.
Need to add a parameter in ate:TestProject tag as shown below, I have re-strucutured the data management structure. data.xml is only initialized the project-wide global testing data.
The test case specific data has been moved to pageObjects folder.
See the example in https://github.com/bigtester/automation-test-engine/tree/master/org.bigtester.ate.core/testproject2 or https://github.com/peidong-hu/dentisteasy/tree/master/dentistSmokeTest
peidong
<ate:TestProject id="testproject" stepThinkTime="6" globalInitXmlFile="dentistSmokeTest/data.xml">
when starting firefox browser, system should be able to select which firefox profile to start with.
The use case is, for example, set the profile to accept location share in a google maps application, the solution is here, http://stackoverflow.com/questions/16292634/always-allow-geolocation-in-firefox-using-selenium and http://techyworks.blogspot.ca/2013/10/change-geolocation-using-selenium.html