Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

attach file not working on codeceptjs with Appium helper #3321

Closed as not planned
Labels
@sdixit28

Description

What are you trying to achieve?

I am trying to use attach file option on appium to upload images/videos/documents .

Note: attach file functionality works on the playwright helper

What do you get instead?

My application tries to upload and for a split second it looks like it is trying to upload something in the background. However nothing happens and right after that command is executed and the next command fails. I even gave an explicit wait time to see if its happening on the background. However nothing happens and fails

Provide test source code if related
My function goes like this

attachImageFile() {
I.see('Press ADD PHOTO to load an image');
I.attachFile('input[type="file"]', '../../../.android/avd/Galaxy_Nexus_API_30.avd/data/testing.jpeg');
},

Details

  • CodeceptJS version:
  • NodeJS Version:
  • Operating System:
  • appium
  • Configuration file:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /