"Upload a file" window is not coming when clicking on browse button

24 views
Skip to first unread message

Roopesh Nema

unread,
Sep 6, 2011, 12:29:02 AM9/6/11
to Selenium-Flex API - Support
Hi,

I am automating a flex based application, in which I am able to click
and handle the flex popups for example if i click on "new" button as
a result of that, one flex popup would come so script is able to
handle this popup but when script is clicking on "browse" button then
click is successful but i am not getting a browser popup asking files
to upload .

Is there any work around for this . ???

Thanks and regards
Roopesh


abdul rehman

unread,
Sep 6, 2011, 1:37:09 AM9/6/11
to sfapi-...@googlegroups.com
ok... try to use Autoit software (used to handle popup windows) which may solve your problem.

Regards
Abdul rehman

Igor Khrol

unread,
Sep 6, 2011, 1:38:52 AM9/6/11
to sfapi-...@googlegroups.com
This can't be handled via Selenium-Flex API due to Flex security limitations.
You can use Sikuli or AutoIT to perform these oprations.

Thanks,
Igor.

Roopesh Nema

unread,
Sep 6, 2011, 1:43:29 AM9/6/11
to sfapi-...@googlegroups.com
thanks for the reply 
 I can handle that popup using Autoit but the problem is,  popup itself is coming after the click  :-)  

Thanks and regards
Roopesh
--
Regards
Roopesh


visit www.radhakripa.com


[A small effort by the mercy of Smt Radha]

Igor Khrol

unread,
Sep 6, 2011, 1:51:57 AM9/6/11
to sfapi-...@googlegroups.com
Click on the "Browse..." button using AutoIT as well. Button coordinates could be retrieved through Selenium-Flex API.
The limitation of Flex security is that file operations could be called from flex event - only by user action.

Thanks,
Igor.

Igor Khrol

unread,
Sep 6, 2011, 1:53:40 AM9/6/11
to sfapi-...@googlegroups.com
*file operations can't be called by flex event

Roopesh Nema

unread,
Sep 6, 2011, 2:34:13 AM9/6/11
to sfapi-...@googlegroups.com
Thanks for the reply , 
I will try and let you know the result . 

Thanks and regards
Roopesh 
Reply all
Reply to author
Forward
0 new messages