coding_cs
coding_cs

Reputation: 95

Appium with Protractor: Working with AngularJS Asynchronous Calls

My Hybrid android app is built with angularjs library with lots of Asynchronous calls all over. How can I integrate Appium with Protractor, so that I can check for complete page loadings including asynchronous calls and other data bindings. My app is developed and ported as APK and not browsed in a browser. Am able to execute my selenium scripts but asynchronous calls is the place where I have stuck.

Please help me.

Upvotes: 2

Views: 771

Answers (1)

giri-sh
giri-sh

Reputation: 6962

As of now Protractor doesn't officially support appium configurations. However there is a help file that is available in Protractor docs. All you need to do is update your conf.js file to include the appium configurations and remember to start your appium server before you run the test script. To your question, you need to have below points ready -

  1. Start your avd
  2. Install the .apk file in your avd that you will be invoking through appium
  3. Start the appium server using command - appium &
  4. Update your protractor conf.js file to include appium android/chrome configurations. More details about configurations can be found in the below link.

Here's the link to it - Protractor-Appium Setup

Upvotes: 1

Related Questions