6
1. Download Eclipse: https://www.eclipse.org/downloads/ from below 2. Download and install TestNG plugin: http://testng.org/doc/download.html & Download and install Maven plugin: http://www.eclipse.org/m2e/

MKP_Automation

Embed Size (px)

Citation preview

Page 1: MKP_Automation

1. Download Eclipse: https://www.eclipse.org/downloads/ from below

2. Download and install TestNG plugin: http://testng.org/doc/download.html & Download and install Maven plugin: http://www.eclipse.org/m2e/

Page 2: MKP_Automation

Refer to the link for setting up Maven plugin with Eclipse Juno version: http://orangletrik.wordpress.com/2013/01/31/install-maven-plugin-in-eclipse-juno/

3. Checkout project from SVN:http://gsesvn.corp.equinix.com/svn/portal/qa-automation/Projects/GSD/MKPSanityAutomation.

. 4. Copy settings.xml to the Maven directory: C:\Users\ {userid} \.m2

5. Convert project to Maven (Right-click on the project → Configure → Convert to Maven Project)

6. Build project through command line

Navigate to project directory where pom.xml is located

Page 3: MKP_Automation

Run the following command: mvn clean install

7. Configure Cleanup.xml and formatter.xml

Cleanup configuration steps 1. Right-click on the project and select Properties2. Under Java Code Style, click on Clean Up3. Click on Enable project specific settings checkbox4. Browse to the downloaded Cleanup.xml

Formatter configuration steps 1. Right-click on the project and select Properties2. Under Java Code Style, click on Clean Up3. Click on Enable project specific settings checkbox4. Browse to the downloaded formatter.xml

8. Updating tdd-framework version

Delete contents of the following folders manually:

C:\Users{user}\.m2\repository\com\equinix\gse\tdd\tdd-framework\1.0-SNAPSHOT C:\Users{user}\.m2\repository\com\equinix\gse\tdd\tdd-ui-framework\1.0-SNAPSHOT

9. Create Class for objects which has like below sample

Page 4: MKP_Automation
Page 5: MKP_Automation

10. Create other class for page object

11. Create one more class for Test Object to write test case as like below

Page 6: MKP_Automation

Last but not least like above one sample test case write remaining test cases