This maven java project with appium framework contains code to solve the following scenarios.
- Launch The App
- Get The Coordinates of Login Button Using pCloudy’s OCR
- Perform Click Operation
- Perform Double Tab Operation.
- Launch The App
- Get The Coordinates of Login Button Using pCloudy’s OCR
- Perform Click Operation
- Draw the given emoji
- Launch the app
- Get the coordinates of login button using pCloudy’s OCR
- Perform Click Operation
- Perform drag and drop operations
- Launch the app, get the coordinate of login button using pCloudy OCR and perform Click operation, click the base image and capture screenshot.Then go back and click on secondary image using pCloudy Visual AI commands and capture the difference image.
- get all text present in the base image using pCloudy OCR
- verify if “Titans” word exist in base image using pCloudy OCR
- Java >8
- Maven
-
Clone the repository - https://github.com/SPrasadT/hackathon.git
-
cd hackathon
-
Download pCloudy connector jar and add to build path - http://pcloudy-content-distribution.s3.amazonaws.com/pCloudy-Connector-Jars/v11/java/How%20to%20Install%20pCloudy-java-connector.jar%20in%20Maven.txt
-
mvn exec:java -Dexec.mainClass="com.mob.tester.BaseTest" \ -Dapp.pCloudyUsername=pCloudyUsername/Email \ -Dapp.pCloudyApiKey=pCloudyApiKey