-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
support for .side (selenium IDE) project files #489
Comments
@ptrthomas please review #500 at your convenience |
@vmchukky this is very exciting. I made a slight change to the test, it is best practice to output generated files into also, I tweaked the generated test and added a test under the I'm proposing instead of |
@ptrthomas thanks for taking the PR in.
|
yes we can work through the setup. it can actually be a java function we write that is intelligent enough to detect the platform, location of chrome (or other browsers in the future) and if it is already running etc. if we look at the selenium / appium projects we may get some ideas. wdyt about adding selenium keywords to karate just like we have with the new engine, I think it may be possible to "register" a set of user-defined keywords. one of the ideas I have is this: if you have a class # command='type', target='name=q', value='karate'
* webdriver type { target: 'name=q', value: 'karate' } |
I like that, that would make selenium keywords first class citizens of karate and makes it easy for all existing selenium tests to use karate (with a simple convert/import utility). |
closing this and we can open a new ticket if needed. right now I'm looking at automating chrome directly as an experiment and am thinking selenium using the webdriver spec is a phase 2 |
Based on this weekend discussion with @ptrthomas (would like to start on the journey with a goal to run UI tests from karate in the not-so-distant future)
trying to support .side (for now only the latest Selenium IDE) project files
idea is to allow .side file import from karate-ui, auto generate corresponding feature files (each
Test Suite
maps to oneFeature
; and eachTest Case
maps to oneScenario
)support some dynamic configuration (to be provided not while importing .side file but while running the generated feature files): very rudimentary at this moment (hopefully will get inputs from Peter / community in evolving this)
need support for running feature-1 calling feature-2 calling feature-3 in UI (may be, we will create a separate ui enhancement issue for Issue-479: karate-ui enhanced to create-new/edit-existing/save-modified features #480 (comment))
later we can pickup old selenium IDE project files
couldn't find
.side
project file format specification (.side-format specification SeleniumHQ/selenium-ide#77); picked a sample .side file to proceed with parsing for nowThe text was updated successfully, but these errors were encountered: