Last updated: Jul 16, 2019 23:32
Sharing an interactive device session with an IDE script
Working with your IDE and the Perfecto Lab in parallel when developing Appium/selenium scripts is now much simpler. You no longer need additional add-ons or plugins. Session sharing allows you to work interactively on the device in the Perfecto Lab while executing an Appium/Selenium script simultaneously from your favorite IDE.
Now, you can open a device in the Perfecto Lab and share that session with your IDE. This is intended for script development or debugging.
- In the Perfecto Lab, open a device.
Click the Copy Session ID button.
Copy the session ID or capability code sample to the clipboard.
Add the capability to your script in the IDE you are using.
Now you can interact with the same device session via both the IDE script and the Perfecto Lab.
When you use a new device or start a new Perfecto Lab session, you need a new session ID.
How To Video:
- Before committing, you must remove this capability from the script code. Otherwise, your script will fail.
- This feature only works only if you have one device open in the Perfecto Oab. If you have 2 or more devices open, your test must specify the device ID to use (same as you would do if running a test on a device without the device being open in the Perfecto Lab).