-
-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status: code export #592
Comments
Looking forward to the python version. Thanks for developing this tool |
likewise! Python or Javascript would be greatly appreciated. |
+1, can't wait for python. Thanks for all the hard work! |
I'm just about to embark on a large suite of tests - how long do you think the export is going to be? As I dont want to commit to all these and have to move off to Katalon or some such? great work as always!! |
@jonesp100 It depends on the language (since we're going in the order listed above, unless others are able to contribute as well), and even then it's hard to know since we're an open source project and timetables & competing priorities can be unpredictable for both contributors and maintainers -- so we can't publicly commit to a timeline. If your objective is to run your tests cross-browser, in parallel, and/or on CI, then do be sure to check out the Selenium IDE command-line runner while you wait. Details available here. |
@tourdedave thanks for the response - appreciate you cant commit but do you have a rough timeline - first language - 1 month, 2 months....? Thanks! |
Hey @corevo, just out of curiosity is it also planned to have a code import sort of thing along the export available. What I mean with that is once you export a code, and do minor modifications according to the style its exported, are you able to re-import it as a side project in Selenium IDE? Moreover, with regards to the export behavior, do you plan to have a customizable export template per language or is it going to be a fixed set of definitions? |
What do you recommend, how would be the best to move forward the issue of exporting into PHP, please? |
@jonesp100 ¯_(ツ)_/¯ @zewa666 No plans for code import at the moment. The initial MVP for code export will just be as-is -- not customizable. @BaluErtl We're building code export so others can easily contribute other languages. PHP is a tricky one, though, since it's not an officially support language binding. Because of that it's unlikely we'd incorporate it into the mix. But we've discussed the option of making code export for additional languages available through plugins, which could be a nice option to make PHP available if someone wanted to contribute it. |
@tourdedave having the code-export configurable via plugins would on the other hand also allow to customize the style of how things get exported. So besides |
Thanx a lot @corevo ! Looking forward for good news about junit export! |
Me to! |
@tourdedave the .side files aren't affected by this, are they? and i am also really looking forward to this! :) |
Yes, if you keep the |
Great , waiting for C# exporting. Thank you all. |
waiting for java exporting , thank you ! |
waiting for python export :) |
waiting for python export :) too. |
等待python导出 |
Export to Java is great! |
Why not allow users to specify their own export actions? Instead of hardcoding this in js files rather allow a config which can be modified to cater for different permutations of various frameworks. so for a click i can opt to use a specific bit of code, specified in a text file for the click, instead of all these repetitive lines being exported. Just an idea... would then solve all "languages" issues as this would be abstracted and we can key/value pair the stuff. |
fyi- Just for confirmation, is export to Java Working? |
@sah-anshu Yes, export is available for Java JUnit. @stebli Code export is doing a lot more than just exporting individual commands. Allowing user customizations through a separate file isn't enough to solve for all languages -- especially if it puts the burden onto the user. But it's an interesting idea - thanks! |
@tourdedave @stebli I think this would be best solved by good guidance on how to create plugins to export code in different languages/test frameworks. |
@tourdedave Is this being added to the Browser plugin/extension in the next release as well, or only via passing those parameters to the CLI tool? Also, in case you didn't see my post on ide-77, since I saw how close you were getting with this, I've finally gotten around to writing a blog post about the "Durable Selector" approach our team has been using for several months now: Simply record ".side" format and import into our Java Test Suite, I think its a nice setup. Included a simple Maven project with the essentials, feel free to use it however you see fit! |
is this an option right now? Will it be limited to JS? |
@catalin-florescu What do you mean? If you're referring to #730, it's resolved. If you are experiencing an issue with code export, please open a new issue and fill out the issue template (link). |
@tourdedave i filled here the issue. Thanks. |
Still waiting ;( |
Looking forward to C# export. Thanks for all your hard work! |
Have you considered support for the Robot Framework Selenium library @corevo and @tourdedave (or would you consider it)? Would you welcome a PR that adds support? It seems like you've laid a solid foundation with @tourdedave's For context, I'm at my second workplace where folks without a lot of programming experience are being eased into test automation using Robot Framework's keyword-driven approach. They're using the Selenium IDE to get familiar with Selenium and selectors. It's working well so far 👏 . |
When are you planning to deploy C# code exporting? looking forward to this :) |
I'm not sure for an ETA. I went with an xUnit approach that I'm still resolving some small kinks I'd like to set before merging this in since xUnit doesn't have methods called for startup and completion. This is currently building and testing fine locally, but the build server is acting up a bit. |
I've just merged code export for C# with NUnit. It will go out in the next release later this week. There's still some work to land @georgemjohnson11's PR for C# with XUnit, which will end up sharing some code between both packages. It will be nice to see since it will set a good precedent for how we will handle multiple frameworks per programming language going forward. |
@tourdedave What work is there? It's been sitting there for 3 days without a comment on the most recent commits |
We’ll want to share a lot of the same emitted code between the NUnit and
XUnit packages (e.g., commands, locator strategies, etc). This will likely
be done through a csharp-commons package which will require a decent amount
of refactoring.
…On Sun, 20 Oct 2019 at 22:55 George Johnson ***@***.***> wrote:
@tourdedave <https://github.com/tourdedave> What work is there? It's been
sitting there for 3 days without a comment on the most recent commits
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#592?email_source=notifications&email_token=AADPTMIQPNYUWXCBOGHCSXLQPSZRRA5CNFSM4G23OS3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYSM5Q#issuecomment-544286326>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADPTMN5D7LRCCQFGU5EQYDQPSZRRANCNFSM4G23OS3A>
.
|
It would be nice to have a commons package, but I'm not going to do it. I'll let the community pick it up if they want but that's not the issue I'm solving for. This is not what the instructions (that are 4 months old and you wrote) detail: https://www.seleniumhq.org/selenium-ide/docs/en/introduction/code-export/ https://github.com/SeleniumHQ/selenium-ide/commits/v3/docs/introduction/code-export.md) Please update these so other potential contributors don't waste their time trying to implement a testing framework. I'll find another open source project where people don't ignore pull requests so they can rush to contribute bugs like this: 1bfcd25 Thanks @tourdedave |
You misunderstand, @georgemjohnson11. We appreciate your PR and intend to
merge it. The work I described is something I am planning to do but will
take some time. For context: the work to implement C# NUnit started last
month but was stalled while I was out on paternity leave and is my primary
focus at the moment. The commit you referenced is not a bug. It was a
necessary change to update my branch to work with the latest version of
side-utils which was updated while I was away. As architectural changes
start to shake out to support multiple frameworks per language then the
docs will be updated. But as for now, the docs are current and you didn’t
waste your time - we’re blazing a trail and I think that’s something to be
excited about. You did something I hope more people will do in the future
and I’m sure the community will appreciate it. It will just take some time
to make the necessary changes and test everything.
…On Mon, 21 Oct 2019 at 16:08 George Johnson ***@***.***> wrote:
It would be nice to have a commons package, but I'm not going to do it.
I'll let the community pick it up if they want but that's not the issue I'm
solving for.
This is not what the instructions (that are 4 months old and you wrote)
detail:
https://www.seleniumhq.org/selenium-ide/docs/en/introduction/code-export/
https://github.com/SeleniumHQ/selenium-ide/commits/v3/docs/introduction/code-export.md)
Please update these so other potential contributors don't waste their time
trying to implement a testing framework.
I'll find another open source project where people don't ignore pull
requests so they can rush to contribute bugs like this: 1bfcd25
<1bfcd25>
Thanks @tourdedave <https://github.com/tourdedave>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#592?email_source=notifications&email_token=AADPTMKN6XNFP376SC5ST5DQPWSV5A5CNFSM4G23OS3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB2IF3Y#issuecomment-544506607>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADPTMMF4GG2PXDLJYESKDDQPWSV5ANCNFSM4G23OS3A>
.
|
I was mistaken about the upcoming release. @corevo reminded me that we're waiting until November 7th to do the next release. I'll start working on the refactoring to support both C# framework in the meantime. |
I'm also working on export for Ruby RSpec, which should go out in the release too. |
The remaining languages have just been released in Each of the officially supported languages for Selenium are now supported (for at least one test framework) in code export. If you have a problem with code export or have an idea for how to improve it -- please open an issue and follow the provided template (link). |
Sweet!!!
…On Sun, Nov 10, 2019 at 4:02 AM Dave Haeffner ***@***.***> wrote:
Closed #592 <#592>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#592?email_source=notifications&email_token=AMDP3YNUHGTS35LFLCN6Y2DQS7L43A5CNFSM4G23OS3KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUYGXARI#event-2785898565>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMDP3YITBCI7J7L6JN6X3GDQS7L43ANCNFSM4G23OS3A>
.
|
This is really great - Im very happy about the C# export |
Please look into this #880. Thank you. |
Hello @tourdedave You wrote
I'm very insterested to contribute to this project and create a export for PHP Codeception for Selenium IDE. |
We've just started working on exporting to languages, we will continually update this thread with new information as it becomes available.
Languages:
We are aware that this feature is very important to the community, but we'd kindly ask to keep all conversation here, until a language is released and then any bug found should raise a ticket.
We would like to avoid splitting the same conversation into multiple threads.
The text was updated successfully, but these errors were encountered: