Code Monkey home page Code Monkey logo

appium-ios-automation's Introduction

Appium Project Location
——> /Users/shibo/Documents/Appium tests

Appium is basically based Client server architecture. We write the test cases, which are sent to Appium server.


1.Please open the folder in VS Code.
2.To run the test cases run the following command in terminal:
	> mocha test.js
3.The app(DUKE.ipa) file is located in the folder
	>/Users/shibo/Documents/testipa

Test reports will be generated after integrating plugins with mocha-chai.

Note:

1. Run appium and start server.
2. Open VS code and run > mocha test.js. DONE!

If the email and password is not getting typed on the app, click on the simulator -> click Hardware -> Keyboard -> Connect Hardware keyboard. If already checked, uncheck it. Else check it and then uncheck it.

About the Appium Automation Testing:(Already Done)

To get the ipa file of the app:(If there is any change in app)

	First we need to build the Duke app in Xcode.(Selected device should be the target device/simulator. In our case, 	we will be testing It in iPhone XR (12.1))

	Then we need to take the Duke.app file, which is build by XCODE. Put the .app file into a folder “payload”. Zip it 	and rename it to DUKE.ipa.

We will put the ipa file in testipa folder.(This path is provided in iOS capabilities.)


TODO before running test:
> Change the sendKeys('[email protected]')
		Change the email in should Register test case => just increment the number to 5 or 6. Eg. [email protected], else app will show already exists and test case will fail.

appium-ios-automation's People

Stargazers

Roman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.