Answered

File Upload using File_Upload command for tag attribute without type - file

How to upload a file when there is no input tag with type = 'file' on the DOM structure? We currently have a button named 'Select files' with attribute data-automation-button-type="AUXILIARY".

We will not be able to use sikuli locators to perform file upload because for cloud runs, We will not be able to place the file in the desired location on cloud VMs.

 

Please suggest an alternate method similar to using File_Upload command for the same.

0
2 comments
Avatar
Joseph Hamdan

Hi Ashwini,

Could you please provide the below:

1- A snapshot of the web page with DOM structure

2- A test case name that we can use to investigate and provide solution

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Joseph Hamdan

+Moved to General Discussion

 

Hi Ashwini,

After site inspection, there was an input tag with "file", but most likely it is not visible.

Could you please create a locator with XPath below and use it in File_Upload command?

//input[@type='file']

Regards,

Subject7 Team

0
Comment actions Permalink

Please sign in to leave a comment.