I am new to testing framework for Appium and Jenkins,My question is, it is possible to run appium test scripts through jenkins? If possible please provide the links or example for that.
Thanks Advance.
I am new to testing framework for Appium and Jenkins,My question is, it is possible to run appium test scripts through jenkins? If possible please provide the links or example for that.
Thanks Advance.
Step 1: Install Jenkins in your system visit the Jenkins url in browser. In my local I access Jenkins using "http://localhost:8080"
Step 2: Tap "New Item" > "Freestyle Project" > 'OK'
Step 3: Scroll to 'Build' section > Add Build Step > 'Execute Shell' and enter the below commands:
Step 4: Click on 'Build Now'.
Step 5: Open the running job > 'Console Output' to ensure Appium server is running.
The following text should be displayed in console logs:
Step 6: All the test scripts should be placed inside 'workspace' directory of Jenkins. My scripts are in this location: /Users/Shared/Jenkins/Home/workspace/appium-android/
Step 7: I use pytest in Python, so my command is as follows:
Ensure you have all dependencies installed in Jenkins machine, like Python, Appium python client, Appium server etc