The link provided in ApacheCon website for information on Selenium for OFBiz testing is broken. The link provided was http://www.us.apachecon.com/presentation/materials/118/ApacheCon2008_Sel...
It looks like the link has moved. I'm attaching the presentation here.
Brett,Thanks for providing the material.
I have install ofbiz and selenium IDE in my system
now how to use it ?
1.one more doubt
in this what we have to test how to start can any one guide me?
2. can we test any web page with Selenium
coz i find little difficulty while i was testing this IDE with some web page like web page which contain the pictures or album short of thing
waiting for reply
thank u and regards
Here is my reply to your posting:
1. I am preparing a patch for the seleniumXml code that is currently in the ofbiz trunk. When I have that completed I will ask everyone to apply that patch to their environment.
2. Then we can first start with adding more test cases for the "example" application in ofbiz.
3. After we are familiar with setting up tests using the example application we will start creating tests for the ecommerce and catalog manager applications. We will also start using more advance features such as running backend services remotely through seleniumXml. These services are helpful for setting and cleaning up data. They allow us to perform more "white box" testing through selenium.
4. Finally, your question on "can selenium be used to test any web application". The answer is it depends. IMO, selenium works best for traditional HTML pages where data is submitted via forms. AJAX applications are more difficult to test with selenium (as well as any other test framework) because AJAX applications work asynchronously wiith the server. This makes it difficult to determine when requests have completed.
We have added some extensions to the seleniumXml framework to work around async process but it often requires the application developer to add instrumentation to their code to allow these extensions to work. We will go over these advanced features in a few weeks.
Creating selenium tests can also be time consuming as you have to review each page to find div ID's, etc so you can properly place your input fields. We have also found problems with selenium working correctly with every browser. Generally it works well with different browsers but sometimes you find a problem with IE that you don't find in FireFox.
We are working hard to fix some of these limitations. I am confident we can continue to improve seleniumXml to make it easier to use and more effective at testing web applications.