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

Send keys for file uploader control is not working with UI5 version 1.105 #371

Open
shiva1455 opened this issue Sep 19, 2022 · 1 comment

Comments

@shiva1455
Copy link

shiva1455 commented Sep 19, 2022

Hi Colleagues,

In our application we use Fiori elements, recently we upgraded UI5 version to 1.105 and after the upgrade send keys function to image uploader control is not working. We have automated it in the following way:

Control locator:
profilePhotoFileUpload: element(by.control({
controlType: 'sap.ui.unified.FileUploader',
properties: {
name: 'FEV4FileUpload',
},
})),

Test:

_const DATANEWIMGPATH = path.resolve(_dirname, '../data/photoData/Photo.png');
profilePhotoFileUpload.sendKeys(DATANEWIMGPATH);

The same test was working fine with UI5 1.101 version. Could you please let us know if we have to do any adaptions for UI5 version 1.105.1.

@hmanchev
Copy link
Contributor

Hi,

I am not aware of the changes in the mentioned control between the UI5 versions. Please refer to the official API docs and compare what is changed.
If you need more details on how to validate file upload, you can take a look hereL #189

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

No branches or pull requests

2 participants