Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Importing and Exporting capability sets as JSON files #1644

Open
itkhanz opened this issue Sep 3, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@itkhanz
Copy link

itkhanz commented Sep 3, 2024

Current Behavior

Whenever user installs the Appium Inspector, it is then required to manually setup capabilities for different applications and devices. This makes it difficult for new team members to setup capabilities manually in Appium inspector to start application with provided capabilities.

Having the option to export and import capabilities is also useful to move existing saved configureations between different Systems and have them retained.

Suggested Solution

Please add an option to export and import the JSON Capabilities. This make it easier to export the saved session capabilities to be transferred to other team members who can then import the capabiliities in their Appium Inspector to get started with Appium automation.

Next to Save As... option under the saved capabilities set, we can put an option to Export this capability set that then prompts user to supply the location and filename to export the existing capability set.

Similarly, an option can be put under File menu to Import Capability Set that then prompts user to choose the JSON file containing all the key value pairs to start a particular session. Users can then easily save this imported session in Appium Inspector.

Additional Information

No response

@itkhanz itkhanz added the enhancement New feature or request label Sep 3, 2024
@eglitise
Copy link
Collaborator

eglitise commented Sep 3, 2024

This functionality already exists in the File menu. Please refer to the documentation. Note that a session file includes not only the capability set, but also the server details.
However, I agree that the current implementation is somewhat cumbersome, since it only works with one session file at a time, and does not work in the browser (due to a lack of menu bar). I am planning to improve this in the future by adopting a similar approach to the current gesture import/export, though this would require some UI adjustments first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants