teodesian / Selenium-Remote-Driver

Perl Bindings to the Selenium Webdriver server
173 stars 90 forks source link

Add perl export in Katalon IDE #415

Open garnier-quentin opened 5 years ago

garnier-quentin commented 5 years ago

Hi,

You provide a javascript file for Selenium IDE. Do you think we can have the same thing for katalon ? Like that, we could get an export directly in webdriver perl code.

teodesian commented 5 years ago

From https://addons.mozilla.org/en-US/firefox/addon/katalon-automation-record/ :

So maybe our JS file will just work as-is? Worth a shot. If it doesn't work, feel free to share any kind of errors you see from it and I'll look into it further.

garnier-quentin commented 5 years ago

I have installed your js file in katalon recorder. Nothing is added in export (don't see Perl WebDriver). And there is nothing in log.

teodesian commented 5 years ago

OK, so I looked up the doc. User extensions are slightly different than formatters:

https://www.seleniumhq.org/docs/08_user_extensions.jsp https://docs.katalon.com/katalon-recorder/docs/extension-scripts-aka-user-extensionsjs-for-custom-locator-builders-and-actions.html#locator-builders

The good news is that it appears they actually have documented an example of a formatter for katalon: https://docs.katalon.com/katalon-recorder/docs/writing-custom-script-formatter.html

So, I can look at this over the weekend.

teodesian commented 5 years ago

OK, so as far as I can tell there are 520 commands I'm gonna have to map to make this work.

Not. Fun.

teodesian commented 5 years ago

OK, so their plugin load of formatter extensions is broken:

https://github.com/katalon-studio/katalon-recorder-sample-plugin/issues/3

As such I'm gonna put this issue on ice until they fix their plugin.

garnier-quentin commented 5 years ago

Hi,

What do you plan for that ?

teodesian commented 5 years ago

I've got a prototype, but haven't had any free time to work on selenium stuff in months

I've got some free time coming up in november, so I'll probably do something about it then

Coolgeek789 commented 4 years ago

any news ?