How To add Reference in IntelliJ IDE
1. Open the Project in Intellij IDE.
2. Add a lib directory in project structure.
3. Add Selenium jar file in lib folder.
4. Right click on lib folder and click on "Add as library".
5. It will be reflected into External libraries.
If we don't have jar files in our local drive we can download from below maven web sites .
So I am going to add few dependency of cucumber .
1. Go to http://mvnrepository.com/ and search your jar files.
i.e. cucumber-java and cucumber-junit.
2. Select version and click on .
3. Download the jar. If you are using any build tool like maven/gradle then click on tab "Gradle"
4. Copy the whole text and paste in dependencies section of build.gradle file.
5. Add Jar files in lib folder ,right click and add as a library.
Next topic is to choose pattern to design the Automation Framework . There are so many pattern are available bur we are supposed to select wisely. Here I am just listing down all the available pattern in other post I will go to the details of each pattern and where its applicable.
1. Page Object pattern.
2. Advanced Page Object pattern.
3. Façade Design Pattern in Automation Testing
4. Singleton Design Pattern in Automation Testing.
5.Fluent Page Object Pattern in Automation Testing.
6. Strategy design pattern in Automation Testing
.....
1. Open the Project in Intellij IDE.
2. Add a lib directory in project structure.
3. Add Selenium jar file in lib folder.
4. Right click on lib folder and click on "Add as library".
5. It will be reflected into External libraries.
If we don't have jar files in our local drive we can download from below maven web sites .
So I am going to add few dependency of cucumber .
1. Go to http://mvnrepository.com/ and search your jar files.
i.e. cucumber-java and cucumber-junit.
2. Select version and click on .
3. Download the jar. If you are using any build tool like maven/gradle then click on tab "Gradle"
4. Copy the whole text and paste in dependencies section of build.gradle file.
5. Add Jar files in lib folder ,right click and add as a library.
Next topic is to choose pattern to design the Automation Framework . There are so many pattern are available bur we are supposed to select wisely. Here I am just listing down all the available pattern in other post I will go to the details of each pattern and where its applicable.
1. Page Object pattern.
2. Advanced Page Object pattern.
3. Façade Design Pattern in Automation Testing
4. Singleton Design Pattern in Automation Testing.
5.Fluent Page Object Pattern in Automation Testing.
6. Strategy design pattern in Automation Testing
.....










