question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Add support for image uploading

See original GitHub issue

I have a remote Appium server that runs iOS and Android tests. For the emulators/simulators of both platforms, I need to copy a set of images to them to be used in our testing.

With local Appium, this can be done with xcrun for iOS xcrun simctl addphoto '#{device}' #{path}

and adb for Android adb push #{local_image_path} /sdcard/Pictures/testapp

But when appium is running on a remote server, neither of those commands seem to be doable (unless I’m hugely mistaken!). For Android, we solved this by using push_file from the Ruby lib, and that works great. But for iOS, that doesn’t seem possible to use push_file.

It would be really nice to be able to issue an xcrun command on a remote Appium server.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
imurchiecommented, May 1, 2017

Adding support for uploading images is doable. I do not think we will be allowing ad hoc xcrun commands to be run, though.

0reactions
sandeepmaaramcommented, Jun 27, 2019

Hey for Android after pushing the file to device, how you are passing that path.

In my case we have Webview, in that upload document feature is there. Now the problem is, I am able to push the file to device but not able to send that path to webview?

Please can anyone help me on this. Thanks in advance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Be able to attach other file types | Feature Requests - Canny
Sometimes I want to attach more than just an image to help my users see the issue. Sometimes a PDF with some larger...
Read more >
Feature request: Support SVG image upload - WordPress.org
I'm using “Safe SVG” plugin. I can upload from Media section and then load the SVG image from Beaver Builder. But I cannot...
Read more >
Custom Image Upload for Customizable Products Add-On
Feature requests · Custom Image Upload for Customizable Products Add-On · Activity Newest / Oldest · The Stylish Pet Shop Company · TREND...
Read more >
Add ability to select existing Salesforce Files for images in ...
Feature Request : Add ability to select existing Salesforce Files for images in Lightning Knowledge articles. Content and Files.
Read more >
Feature request: File Uploader with Image Preview - Jotform
Feature request : File Uploader with Image Preview ... We have a Dropbox form that our customers upload their images to our Dropbox...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found