Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Dali Automated Pre-Requistes
The following sections need to be completed prior to running any of the QTP Automated Test Suites.
Contents
Installing Dali 3.2
- Go to the Dali Downloads site
- Download all pre-requiste zip files in order, except for the one for graphiti
- Launch Eclipse and go to Help > Install Updates
- Add the location for graphiti download and then click add
- Get the latest graphiti build for eclipse
- Close Eclipse, then go back to the Dali downloads site and get the zip file for Dali
- Launch eclipse and notice that Dali and graphiti diagram editor can both be launched
Setup JPA EclipseLink Library
- Go to the Eclipse-EclipseLink Site to get the latest EclipseLink JPA http://wiki.eclipse.org/EclipseLink
- Click on Downloads in the Links Section to the Right
- Click on the Installer Zip to download the Libraries
- Launch Eclipse
- Select Window > Preferences
- Expand Java > Build Path and click on User Libraries
- Click on New button
- Enter Dali_Library for library name
- Click on OK button
- Highlight Dali_Library and Click Add JARs button
- Browse to location of installed EclipseLink jpa directory (Ex. C:\Dali\eclipselink\jlib\jpa\) and select javax.persistence_1.0.0.jar
- Click on OK button
- Click on Add JARs button
- Browse to location of installed EclipseLink jlib directory (Ex. C:\Dali\eclipselink\jlib\) and select eclipselink.jar
- Click on OK button
- Click on Add JARs button
- Browse to location of installed EclipseLink jpa directory (Ex. C:\Dali\eclipselink\jpa\) and select javax.persistence_2.0.1.v201006031150.jar
- Click OK button.
- Click on New button
- Enter JAXB_Library for library name
- Click on OK button
- Highlight JAXB_Library and Click on Add JARs button
- Browse to location of installed EclipseLink moxy directory (Ex. C:\Dali\eclipselink\jlib\jpa\moxy\) and select all the .jar files in the moxy directory
- Click on OK button.
Setup JPA Perspective
- Select Window > Open Perspective > Other
- Select JPA in Open Perspective Dialog
- Click on OK button
Create Database Connections
- Go to the Data Source Explorer
- R-Click on Database Connection and Select New
- Select Oracle
- Enter Oracle 11g in the Name field and Click on Next button
- Click on New Driver Definition Icon
- Select Oracle Thin Driver for System Version 11
- Select Jar List Tab and click on the Add JAR/Zip button
- Select the ojdbc6_11.jar (Ex. C:\JBC_Drivers\Oracle_Drivers\11gR11.1.0.7\ojdbc6_11.jar)
- Select ojdbc14.jar and click on Remove JAR/Zip
- Click on OK button
- Set up the SID, Host, Port number, etc. fields
- Check the Connect when the wizard completes checkbox and click on the Next button
- Click on Finish
- Repeat for any other database connections prior to running a test against that DB
Setup Error Log View
- Select Window > Show View > Other
- Select General > Error Log in the Show View Dialog
- Click on OK button
- Select JPA Details Tab