WopiValidatorExecutor is a command line application which executes the WopiValidator tests to verify the host’s WOPI Implementation.
For more details, please refer the documentation at Wopi Validator Application
Ensure that you have Python Version >=
If you have Python 2 >=
2.7.9 or Python 3 >=
3.4 installed from python.org, you will already have
setuptools, but will need to upgrade to the latest version using the instructions below, (more details at - https://python-packaging-user-guide.readthedocs.io/installing/#install-pip-setuptools-and-wheel)
On Linux or OS X
pip install -U pip setuptools
python -m pip install -U pip setuptools
Installation from the source tree :
$ python setup.py install
- On systems similar to Unix, the installation places a
WopiValidatorExecutor-scriptinto a centralized
bindirectory, which should be in your
- On Windows,
WopiValidatorExecutor.exewill be placed into a centralized
Scriptsdirectory which should also be in your
WopiValidatorExecutor by passing the
WopiSrc of the
.wopitest file and a valid
WOPI AccessToken enclosed in quotes. :
$ WopiValidatorExecutor "wopisrc" "accesstoken"
-s: If you need to provide a specific Wopi Discovery Service Url, you can pass that Url using this argument. -c: If you need to run the WopiValidator in a specific mode, you can pass the intended VALIDATOR_TEST_CATEGORY using this argument. For more details, please refer the documentation at https://wopi.readthedocs.io/en/latest/discovery.html#term-validator-test-category -v: Using this argument will turn on verbose logging.
A log file named
wopivalidatorexecutor.log will be placed in the installation directory.