Fork me on GitHub

15 Jun 2010

Export Selenium IDE scripts for Grails

Thanks to the documentation provided on Adam Goucher's blog I've created a simple Firefox plugin that extends the Selenium IDE and adds formatters that allow you to export a script as a Grails Selenium RC test case. You have the option of JUnit 3 (extends GroovyTestCase, uses assertEquals) or JUnit 4 (doesn't extend anything, uses annotations and assertThat) formats.

I think everything is working. There are some things I'd still like to do:
  • Custom commands are currently exported as commented out which they don't need to be given Grails Selenium RC test cases can call Javascript extension functions directly.
  • I haven't yet figured out how to output a command such as
    rather than
    selenium.waitFor {

The Firefox plugin is available from Selenium HQ. You will need to have Selenium IDE installed for it to work, obviously. Once installed you should find options
  • Export Test Case As -> Grails Selenium RC (JUnit 3)
  • Export Test Case As -> Grails Selenium RC (JUnit 4)
have been added to Selenium IDE's File menu.

Whilst I would certainly not leave the exported test case as is it's a quick way to get started. From the exported script you can easily refactor out some page objects or helper methods.


Amirtha rao said...

Nice blog, here I had an opportunity to learn something new in my field. I have an expectation about your future post so please keep updates.
Selenium Course in Chennai|Best Selenium Training Institute in Chennai

iqbal12 Dlk said...

very nice and informative blog
mobile computing projects chennai

Bay Max said...

Thanks for sharing interview questions on software testing. Your post is very helpful for freshers and job seekers to excel in testing and do well in the job interview.
Software testing training institutes in chennai

Jones Sathya said...

Looking for best Software Testing Training in Chennai? CREDO SYSTEMZ is the No 1 Software Testing Training Institute in Chennai offering professional training on both Manual, automation testing training like Selenium, QTP/UFT and Performance Testing Training Courses like LoadRunner and JMeter. More Details: Software Testing Training course details.

shalu said...

Thanks a lot for explaining practically. Fantastic Post! Get more information Selenium Training in Chennai|Selenium Course in Chennai|Selenium Training

svr online Training said...

Thank's For Sharing....Salesforce Certification Training

techvelocity partners said...

Great post..Visit this for more information
Risk management consulting services
ROI consultant minnesota
consulting company minnesota

Inigo joseph said...

Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
rpa training in chennai

Mathi said...

It is exceptionally valuable data. It will enhance my insight in Selenium. Much thanks to you for sharing this marvelous site.
Selenium Training in Chennai | Selenium Training | Selenium Course in Chennai | Selenium Training Institute in Chennai

anushka sharma said...

Nice post. Thanks for sharing the useful information. Python training institute in Chennai

Nila shri said...

Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.
Digital Marketing Training in Chennai
Digital marketing Training in Bangalore
Digital marketing Training in pune
online Data science training

willy lake said...

really great post and thanks for sharing this wonderful article

Play School in Kilpauk | Play School in Ayanavaram
Play School in Purasawalkam | Preschool in Kilpauk
Preschool in Ayanavaram | Preschool in Purasawalkam
Play School in Choolai

willy lake said...

thanks for sharing the article

Neet Coaching Centre in Saidapet | Neet Coaching Centre in Guindy | Neet Coaching Centre in Teynampet |
Neet Coaching Centre in KK Nagar | Neet Coaching Centre in Ashok Nagar | Neet Coaching Centre in T nagar

feros khan said...

thanks for the article it was really helpful

Office Chair Manufacturer in Chennai |
Office Chair Repair Services in Chennai |
Sofa Repair Services in Chennai |
Sofa Manufacturer in Chennai

feros khan said...

thanks for the informative post

car Service centre in coimbatore
car Service station in coimbatore
car repair service in coimbatore
car mechanics in coimbatore

Nadeem Malik said...

hello sir,
thanks for giving that type of information.
digital marketing company in delhi

Vikash Kumar said...

fridge repair in gurgaon

Vikash Kumar said...

nice topic which you have choose.
second is, the information which you have provided is better then other blog.
so nice work keep it up. And thanks for sharing.
Epoxy Grout manufacturer in delhi

Unknown said...

Laminated Doors manufacturer in hubli

Akash Thakur said...

outdoor led flood lights in delhi

cynthia williams said...

Thanks for sharing this pretty post, it was good and helpful. Share more like this.
Robotics Process Automation Training in Chennai
RPA courses in Chennai
Robotic Process Automation Training DevOps Training in Chennai
AWS Training in Chennai
Angularjs Training in Chennai

Roja Priya said...

Thank you for sharing your article. Great efforts put it to find the list of articles which is very useful to know, Definitely will share the same to other forums.
data science course in chennai quora | data science course fees in chennai | data science course in chennai velachery | data science course in chennai omr

Pankaj Singh said...

Nice Blog, Thank you so much sharing with us. Visit for
Europe Honeymoon Packages

Unknown said...

Excellent tutorial buddy. Directly I saw your blog and way of teaching was perfect, Waiting for your next tutorial.
rpa training in chennai | rpa training in velachery | rpa training in chennai omr

Unknown said...

Nice article with excellent way of approach. Your post was really helpful.Thanks for Sharing this nice info.
rpa training chennai | rpa training in velachery | rpa fees in chennai

Ananya Krishnan said...

Good job in presenting the correct content with the clear explanation. The content looks real with valid information. Good Work

DevOps is currently a popular model currently organizations all over the world moving towards to it. Your post gave a clear idea about knowing the DevOps model and its importance.

Good to learn about DevOps at this time.

devops training in chennai | devops training in chennai with placement | devops training in chennai omr | devops training in velachery | devops training in chennai tambaram | devops institutes in chennai | devops certification in chennai

Aman CSE said...

Thank you for sharing your article with full of knowledge on Blueprism . You put great efforts to make this article very useful for other who is searching for the knowledge of Blueprism. Requesting you to keep sharing and keep updating the blog as it really helpful for everyone.
Thanks and Regards,
Blueprism training in Chennai

Nadeem Malik said...

digital marketing company in delhi

Safety Professionals said...

emails with the same comment. Is there any way you can remove people from that service? Thanks.
safety courses in chennai

akhilapriya404 said...

I have read your blog its very attractive and impressive. I like your blog. selenium Online Training Hyderabad

Sai Elakiyaa said...

Very informative, your writing style is totally different from other, keep continuing.
Selenium Training in Chennai
Selenium Course in Chennai
iOS Course in Chennai
Digital Marketing Training in Chennai
J2EE Training in Chennai
PHP Training Chennai
PHP Training Institute in Chennai

Vicky Ram said...

Thank you sharing this kind of noteworthy information. Nice Post.

Article submission sites
Guest posting sites

Anbarasan14 said...

Your blog is nice. I believe this will surely help the readers who are really in need of this vital piece of information. Thanks for sharing and kindly keep updating.

Best IELTS Institute in Chennai
IELTS Coaching Classes in Chennai
IELTS Courses in Chennai
IELTS in Chennai
IELTS Courses near me
IELTS Coaching Classes in Mumbai
IELTS Institute in Mumbai

Aruna Ram said...

I am reading your blog regularly, what a post very interesting and great content. Thank you for your post!!!
CCNA Certification in Bangalore
CCNA Training Bangalore
CCNA Training institutes in Bangalore
CCNA Training in Aminjikarai
CCNA Course in Chennai Kodambakkam
CCNA Training in Vadapalani

Delhi Internet Marketing Agency In Delhi said...

We are happy now to see this post because of the you put good images, good choice of the words. You choose best topic and good information provide. Thanks a sharing nice article.

Digital marketing company in delhi

dinesh said...

This information is impressive. I am inspired with your post writing style & how continuously you describe this topic. Eagerly waiting for your new blog keep doing more.
Android Training in Bangalore
Android Developer Course in Bangalore
Android App Development Training in Bangalore
Android Training Center in Bangalore
Android Institute in Bangalore

sharmi chithra said...

It is very excellent blog and useful article thank you for sharing with us, keep posting.

Primavera Training in Chennai
Primavera Course in Chennai
Primavera Software Training in Chennai
Best Primavera Training in Chennai
Primavera p6 Training in Chennai
Primavera Coaching in Chennai
Primavera Course

Meera Kumar said...

Thanks a million and please keep up the effective work R Programming training in Chennai | R Programming Training in Chennai with placement | R Programming Interview Questions and Answers

Sakthi Murugan said...

Your article inspired me to learn more and more about this technology, waiting for your next content!!

Selenium Training in Chennai
Selenium Course in Chennai
iOS Course in Chennai
Digital Marketing Training in Chennai
J2EE Training in Chennai
Future of testing professional
Different functions in testing said...

very nice
best implantologist delhi

nanadhini chandran said...

Great!it is really nice blog information.after a long time i have grow through such kind of ideas.thanks for share your thoughts with us.
Salesforce Training in Ambattur
Salesforce Training in Nolambur
Salesforce Training in Guindy
Salesforce Training in Saidapet

kavinilavu G said...

Great efforts put it to find the list of articles which is very useful to know, Definitely will share the same to other forums. Roles and reponsibilities of hadoop developer | hadoop developer skills Set | hadoop training course fees in chennai | Hadoop Training in Chennai Omr

Veav by nimisha priya said...

Very nice post.
Designer dress in Mumbai

sharmi chithra said...

Nice post. By reading your blog, I get inspired .. Thank you for posting.

Informatica Training in Chennai
Informatica Training Center Chennai
Informatica Training Institute in Chennai
Best Informatica Training in Chennai
Informatica course in Chennai
Informatica Training center in Chennai
Informatica Training
Learn Informatica

Aruna Ram said...

Hi, Your blog is very impress to me. I am very glad to read your post. Thank you for your sharing.
Best PHP Training in Bangalore
PHP Coaching in Bangalore
PHP Course in Perambur
PHP Training in Nolambur
PHP Course in Nungambakkam
PHP Training in Saidapet
PHP Training in Navalur
PHP Course in Kelambakkam

vishnu said...

Your blog is very useful for me. Keep up the good work.

Linux Training in Chennai
Linux training
Linux Certification Courses in Chennai
Linux Training in Adyar
Linux Course in Velachery
Best Linux Training Institute in Tambaram

sathyaramesh said...

Good job! Fruitful article. I like this very much. It is very useful for my research. It shows your interest in this topic very well. I hope you will post some more information about the software. Please keep sharing!!
SEO Training Institute in Chennai
SEO training course
Best SEO training in chennai
Digital Marketing Course in Chennai
Digital Marketing Training in Chennai
Digital Marketing Course near me

sathyaramesh said...

This post is much helpful for us. This is really very massive value to all the readers and it will be the only reason for the post to get popular with great authority.
Selenium Training
Selenium Course in Chennai
Selenium Training Institute in Chennai
Best Software Testing Training Institute in Chennai
Testing training
Software testing training institutes

Praylin S said...

Awesome post! Thanks for sharing this information. Regards.
Best LINUX Training institute in Chennai | Best LINUX Training in Chennai | Learn LINUX | LINUX Certification | LINUX Course | LINUX Training in Chennai

Riya Raj said...

Wonderful blog!!! Thanks for your information sharing with us.
selenium training
selenium course in coimbatore
Best Software Testing Training Institute in Coimbatore
Software Testing Training Center in Coimbatore

LindaJasmine said...

Amazing Blog. The liked your way of writing. It is easy to understand. Waiting for your next post.
Node JS Training in Chennai
Node JS Course in Chennai
Node JS Advanced Training
Node JS Training Institute in chennai
Node JS Training Institutes in chennai
Node JS Course
Informatica Training in Chennai
Informatica Training center Chennai
Informatica Training Institute in Chennai



you can search low-cost website with high-quality website functions.
Today Join Us
Call: +91 - 8076909847

website development company in Delhi

interior designers in delhi

website designing company in delhi

SEO services in Delhi

Best It Service Provider:

1. Website Designing And Development.
2. SEO Services.
3. Software Development.
4. Mobile App Development.

Y and H Cargo India said...

Nice blog! Thanks for sharing with us. It was really helpful for me. Visit for
Logistics Company in India
Freight Forwarders in India