{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/326","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/326/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/326/events","html_url":"https://github.com/SeleniumHQ/selenium/pull/326","id":60199054,"number":326,"title":"Support export to Java/TestNG/ WebDriver on Selenium-IDE","user":{"login":"rasika90","id":1448489,"avatar_url":"https://avatars.githubusercontent.com/u/1448489?v=3","gravatar_id":"","url":"https://api.github.com/users/rasika90","html_url":"https://github.com/rasika90","followers_url":"https://api.github.com/users/rasika90/followers","following_url":"https://api.github.com/users/rasika90/following{/other_user}","gists_url":"https://api.github.com/users/rasika90/gists{/gist_id}","starred_url":"https://api.github.com/users/rasika90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasika90/subscriptions","organizations_url":"https://api.github.com/users/rasika90/orgs","repos_url":"https://api.github.com/users/rasika90/repos","events_url":"https://api.github.com/users/rasika90/events{/privacy}","received_events_url":"https://api.github.com/users/rasika90/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/C-ide","name":"C-ide","color":"fbca04"},{"url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/R-awaiting%20review","name":"R-awaiting review","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-07T09:22:09Z","updated_at":"2015-03-16T08:51:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/326","html_url":"https://github.com/SeleniumHQ/selenium/pull/326","diff_url":"https://github.com/SeleniumHQ/selenium/pull/326.diff","patch_url":"https://github.com/SeleniumHQ/selenium/pull/326.patch"},"body":"## Description\r\nI suppose we can extend the support of the Selenium-IDE for `TestNG / Java / WebDriver`. Currently, Selenium IDE only supports only for the `Java / Remote Control(RC)`. \r\n\r\n## Reason\r\nThe improvement suggestion was raised by the community is located at https://code.google.com/p/selenium/issues/detail?id=5492. Since use of RC is discouraged and deprecated export selenium scripts to Java/ WebDriver is highly demanded.\r\n\r\n## Benefits\r\nEnd users will benefits from following two extended features;\r\n\r\n1). Export Test Case As.. -> Java / TestNG / WebDriver\r\n\r\nThis new feature is heavily based on `Java/Junit 4/WebDriver`. Implemented code is tested and working as expected.\r\n\r\n![screen shot 2015-03-07 at 2 21 50 pm](https://cloud.githubusercontent.com/assets/1448489/6540837/72173abc-c4d9-11e4-97be-76ebea0a2e50.png)\r\n\r\n2). Export Test Suite As.. -> Java / TestNG / WebDriver\r\n\r\nThis feature is implemented conformed to TestNG Test Suite [documentation](http://testng.org/doc/documentation-main.html) . According TestNG docs;\r\n>>A suite is represented by one XML file. It can contain one or more tests and is defined by the \\<suite\\> tag.\r\n\r\nTherefore, expected outcome is a `testng.xml` file with <suite> tags.\r\n\r\n![screen shot 2015-03-07 at 2 22 23 pm](https://cloud.githubusercontent.com/assets/1448489/6540839/7974976e-c4d9-11e4-9427-2f421ac19d71.png)\r\n\r\n## Drawbacks\r\nNo significant drawbacks foreseen. One thing to note for this to work is that the user has to import required TestNG libraries into the user project.\r\n\r\nI have filled & signed the SFC Individual Contributor License Agreement."},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/81510683","html_url":"https://github.com/SeleniumHQ/selenium/pull/326#issuecomment-81510683","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/326","id":81510683,"user":{"login":"rasika90","id":1448489,"avatar_url":"https://avatars.githubusercontent.com/u/1448489?v=3","gravatar_id":"","url":"https://api.github.com/users/rasika90","html_url":"https://github.com/rasika90","followers_url":"https://api.github.com/users/rasika90/followers","following_url":"https://api.github.com/users/rasika90/following{/other_user}","gists_url":"https://api.github.com/users/rasika90/gists{/gist_id}","starred_url":"https://api.github.com/users/rasika90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasika90/subscriptions","organizations_url":"https://api.github.com/users/rasika90/orgs","repos_url":"https://api.github.com/users/rasika90/repos","events_url":"https://api.github.com/users/rasika90/events{/privacy}","received_events_url":"https://api.github.com/users/rasika90/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T08:51:59Z","updated_at":"2015-03-16T08:51:59Z","body":"Hi samitbadle,\r\n\r\nThank you for the information. commit looks good. \r\n\r\nThank you"}}