Hi
I'm using the AppianSelenium API framework in Eclipse.On one of my web pages, I need to upload a document.I use the code below to click the upload button (Called UPLOAD):fixture.clickOnButton("UPLOAD");
... and a Windows dialog box appears allowing me to navigate to the document I want.
Question: How do I interact with the Windows dialog box so the automation can find the file I want to upload?
Thanks
Discussion posts and replies are publicly visible
I had the same issue. Is there any solution for this upload problem?
Hi Daniely,
Im not so sure about selenium, however in cucumber instead you interact with the windows you can upload files using the functions. Please see the cucumber samples below:
tempoFixture.populateFieldWith("fieldType","fieldName","fieldValue")
tempoFixture.populateFieldWith("FILE_UPLOAD", "Document File Upload", "C:\\Testing\\test_file\\img.jpg");
As using Fitinesse you can achieve the same result using the command below:
|populate|FILE_UPLOAD|field|Document File Upload|with|C:\\Testing\\test_file\\img.jpg|
I hope that this help you with selenium.
Regards,
Acacio B.