opktask.blogg.se

Start appium server
Start appium server





Repeat the above step for gherkin and install the same.Navigate to Preferences -> Plugins, search for cucumber for Java and click on Install (if it’s not previously installed).

start appium server

This would pull all the dependency in External Libraries. Once done, navigate to View -> Tools Window -> Gradle and click on Refresh all gradle projects icon.TestCompile group: 'junit', name: 'junit', version: '4.11'Ĭompile group: 'info.cukes', name: 'cucumber-java',Ĭompile group: 'io.appium', name: 'java-client', Below is how the gradle file should look like:.This would add appium and cucumber-jvm under dependencies.Ĭompile group: 'info.cukes', name: 'cucumber-java', version:Ĭompile group: 'io.appium', name: 'java-client', version: You would see a message as shown below, click on Ok, apply suggestion! We should have a project created with default structure.IntelliJ would be running the background task (Gradle build) which can be seen in the status bar.Choose a Project location and click on Finish. Project name field would be auto populated with what you gave as ArtifactId.Check the option Use Auto-Import and make sure Gradle JVM is populated.

start appium server

Click on Next, enter the GroupId as com.test and ArtifactId as HelloAppium.

start appium server

Project SDK should get populated with the Java version.

  • On the New Project screen, select Gradle from left pane.
  • Launch IntelliJ and click Create New Project on Welcome Screen.






  • Start appium server