Can't upload file from browser. RobotFramework, Selenium + Autoit on remote host.

203 views
Skip to first unread message

Zeebee

unread,
Dec 30, 2015, 1:42:18 AM12/30/15
to robotframework-users
Hi there!
I have read many posts with similar problem but I didn't find any solution. In my tests I'm uploading some files - after click on button in app in browser system shows window 32770 (opening or browse). I'm using AutoIt library for RobotFramework to handle upload action by this system window. Everything works perfectly until I run it on remote hosts (windows slave computer) and terminal's screen is covered. Has anybody met and solved such an issue?


Tatu Aalto

unread,
Dec 30, 2015, 3:40:26 AM12/30/15
to zbigniew....@britenet.com.pl, robotframework-users

Ugh

Have you looked at Choose File [1] keyword?

-Tatu
Send from my mobile
[1] http://robotframework.org/Selenium2Library/doc/Selenium2Library.html#Choose%20File

On 30 Dec 2015 8:42 a.m., "Zeebee" <zbigniew....@britenet.com.pl> wrote:
Hi there!
I have read many posts with similar problem but I didn't find any solution. In my tests I'm uploading some files - after click on button in app in browser system shows window 32770 (opening or browse). I'm using AutoIt library for RobotFramework to handle upload action by this system window. Everything works perfectly until I run it on remote hosts (windows slave computer) and terminal's screen is covered. Has anybody met and solved such an issue?


--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Zeebee

unread,
Dec 30, 2015, 3:48:20 AM12/30/15
to robotframework-users
Hi Tatu, as I remember Choose File keywords handles input field to input path to file, does it? I have only button to click it, then standard browsing system window is presented...

Tatu Aalto

unread,
Dec 30, 2015, 4:25:57 AM12/30/15
to zbigniew....@britenet.com.pl, robotframework-users

Ugh

I have used Choose File keyword successfully for all kind of elements which are used for uploading files. Give it a try and see how it goes.

-Tatu
Send from my mobile

Zeebee

unread,
Dec 30, 2015, 7:07:17 AM12/30/15
to robotframework-users
Partially works! :) Thanks!
It seems not to be working with some newer type of component.


On Wednesday, December 30, 2015 at 7:42:18 AM UTC+1, Zeebee wrote:

Tatu Aalto

unread,
Dec 30, 2015, 7:16:16 AM12/30/15
to zbigniew....@britenet.com.pl, robotframework-users

Ugh

Could you raise an issue the Selenium2Library issue tracker and provide as much details as possible?

-Tatu
Send from my mobile

Zbigniew Włodarczyk

unread,
Dec 30, 2015, 7:54:18 AM12/30/15
to Tatu Aalto, robotframework-users
Yep, of course.
Thanks!

--
Zbyszek Włodarczyk
Reply all
Reply to author
Forward
0 new messages