Unable to process SWF component using Selenium

I am automating a test for a website using selenium, but selenium is not able to identify SWF components. Please let me know if there is a way to automate SWF components using Selenium and perl.

Here's a test link to verify proof of concept: http://demo.swfupload.org/v220/simpledemo/index.php

+4
source share
2 answers

I faced the same problem when automating the flash loader widget in my own tests. Unfortunately, selenium cannot be used to automate SWF files in Flash files.

If you want to download something, then drop the script on your server, where you can get the POST file data, and the POST data directly from your script (I assume that you are using selenium-rc), In any case, it's just works with flash widgets.

+1
source

There is a Selenium-Flex API . I believe that this requires tools for your SWF files, so their controls actually call JavaScript, but it includes a tool for this toolkit.

I have not tried this, but maybe when I have time ...

EDIT:

Just noticed that you wrote that it no longer works for you in the comments. If you need to call from perl, this may indeed be impossible. I must be a real user to know this.

+1
source

Source: https://habr.com/ru/post/1315791/


All Articles