MoQuality

MoQuality Docs

We are glad that you are using MoQuality in your testing process. You'll find comprehensive guides and documentation to help you start working with MoQuality as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Appium and other system dependencies

Permission Denied Errors

Brew

Run brew doctor to diagnose the problem. Usually, permission denied errors are caused due to incorrect brew installation. Some brew folders might have been created with incorrect user or permissions. It's best to find out where the permissions are not correct and fix them. You can also try:

sudo chown -R $(whoami) $(brew --prefix)/Caskroom/*
sudo chown -R $(whoami) $(brew --prefix)/Cellar/*
sudo chown -R $(whoami) $(brew --prefix)/Frameworks/*
sudo chown -R $(whoami) $(brew --prefix)/Homebrew/*

The brew documentation goes into detail highlighting other potential problems you might encounter.

npm

If you are getting an error saying "npm command not found", then you might not have Node and npm correctly installed. Install node with:
brew install node

Appium

Appium initialization for iOS fails

Open Appium's WebDriverAgent project with

sh -c "$(curl -fsSL https://raw.githubusercontent.com/moquality/devcenter/master/wda.sh)"

Then refer to the Appium documentation on setting up WebDriverAgent manually here. You might have to do this only once.

Xcode couldn't find any iOS App Development provisioning profiles matching

You haven't set up your Xcode properly. Most probably you need to configure your developer account with Xcode. Go to Xcode > Preferences > Account and sign in with your Apple developer's account here.

During initializing a device for iOS you get an error "Could not connect to lockdownd".

You usually get this error with the usbmuxd library is not on the latest version. It should be at libusbmuxd >= 1.1.0. We suggest that you reinstall the library using:

brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd && brew link usbmuxd

The libimobiledevice and ideviceinstaller libraries depend on usbmuxd, so you might have to reinstall them as well.

You can check if ideviceinstaller -l works. If it works, you have fixed the problem. Otherwise, reinstall the other libraries with:

brew uninstall ideviceinstaller
brew uninstall libimobiledevice
brew install --HEAD libimobiledevice
brew link --overwrite libimobiledevice
brew install --HEAD  ideviceinstaller
brew link --overwrite ideviceinstaller
sudo chmod -R 777 /var/db/lockdown/

ideviceinstaller -l should work now.

Support

If you would like us to help you through an issue you are having, email us at [email protected].

Updated 6 days ago

Appium and other system dependencies


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.