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
    selenium.waitForAlertPresent()
    rather than
    selenium.waitFor {
        selenium.isAlertPresent()
    }

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.

79 comments:

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...
This comment has been removed by the author.
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

https://amantoothtown.blogspot.com/ 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

AKASH DAYAL GROUPS said...

THANKS FOR INFORMATION

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

website development company in Delhi

levantro
interior designers in delhi


livewebindia
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

venu bharath said...

You are an awesome writer. The way you deliver is exquisite. Pls keep up your work.
Spoken English Classes in Chennai
Best Spoken English Classes in Chennai
Spoken English Class in Chennai
Spoken English in Chennai
Best Spoken English Class in Chennai
English Coaching Classes in Chennai
Best Spoken English Institute in Chennai
IELTS coaching in Chennai
IELTS Training in Chennai

venu bharath said...

Amazing write-up. The content is very interesting, waiting for your future write-ups.
Html5 Training in Chennai
Html5 Courses in Chennai
Html5 Training
Html5 Course
Html5 Training Course
Drupal Training in Chennai
Drupal Certification Training
Drupal 8 Training
Drupal 7 Training

Rithi Rawat said...


Very nice post here thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
machine learning course in Chennai

machine learning certification in chennai

Robotic Process Automation Tutorial said...

Thank you so much for your information,its very useful and helful to me.Keep updating and sharing. Thank you.
RPA training in chennai | UiPath training in chennai


Riya Raj said...

Great post!!! Thanks for your blog… waiting for your new updates…
Digital Marketing Training Institute in Chennai
Best Digital Marketing Course in Chennai
Digital Marketing Course in Coimbatore
Digital Marketing Training in Bangalore

kavinilavu G said...

Such a Great Article!! I learned something new from your blog. Amazing stuff. I would like to follow your blog frequently. Keep Rocking!!
Blue Prism training in chennai | Best Blue Prism Training Institute in Chennai

Roja Priya said...

Given so much info in it, The list of your blogs are very helpful for those who want to learn more interesting facts. Keeps the users interest in the website, and keep on sharing more
Our Credo Systemz Which is designed to offer you OpenStack Training skills required to kick-start your journey as an OpenStack Cloud Administrator.
Please free to call us @ +91 9884412301 / 9600112302

best openstack training in Chennai | openstack certification in chennai | openstack certification training in Chennai | openstack course fees in chennai

amsa leka said...

Nice blog..! I really loved reading through this article. Thanks for sharing such a
amazing post with us and keep blogging... AngularJS Training in Chennai | Best AngularJS Training Institute in Chennai

DJ PRASATH said...

Thanks for your post. This is excellent information. The list of your blogs is very helpful for those who want to learn, It is amazing!!! You have been helping many application.
best selenium training in chennai | best selenium training institute in chennai selenium training in chennai | best selenium training in chennai | selenium training in Velachery | selenium training in chennai omr | quora selenium training in chennai | selenium testing course fees | java and selenium training in chennai | best selenium training institute in chennai | best selenium training center in chennai

Spin Gurus said...

Hi dear, This is an nice and valuable post thanks for this information! Visit for audio engineering course at
audio engineering course

pooja said...

Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up!
Java training in Chennai

Java training in Bangalore

amsa leka said...

Wow!! Really a nice Article. Thank you so much for your efforts. Definitely, it will be helpful for others. I would like to follow your blog. Share more like this. Thanks Again.
iot training in Chennai | Best iot Training Institute in Chennai

Praylin S said...

Wonderful post with great piece of information. Looking forward for more posts from you.
Tally Course in Chennai
Tally Course
Learn Tally
Training and Job Placement in Chennai
Spark Course in Chennai
C++ Programming Course

kavinilavu G said...

Great post! I am actually getting ready to across this information, It's very helpful for this blog. Also great with all of the valuable information you have Keep up the good work you are doing well.DevOps Training in Chennai | Best DevOps Training Institute in Chennai

شركة صيانة تنظيف said...

شركة كشف تسربات المياه بالدمام

gowthunan said...

can you offer guest writers to write content for you? I wouldn’t mind producing a post or elaborating on some the subjects you write concerning here. Again, awesome weblog!
safety course in chennai

amsa leka said...

Nice blog..! I really loved reading through this article. Thanks for sharing such a
amazing post with us and keep blogging... Best React js training near me | React js training online

رجب البرنس said...


بسم الله الرحمن الرحيم نحن فى شركة الكمال نقوم بكشف التسربات من خلال امببة هواء مزواده بالعداد

هواء كما يوجد لدينا جهاز الكترنى يكشف عن طريق التزبزبات
شركة كشف تسربات المياه بالطائف
شركة كشف تسربات المياه بجازان
شركة كشف تسربات المياه بحائل
والسلامة عليكم ورحمة الله وبركاته

Anexas Europe said...

Thanks for information , This is very useful for me.
Keep sharing Lean Six Sigma Green Belt Training Bangalore


jefrin adams said...

Wow good to read the post
Best php training in chennai

suresh babu s said...

An impressive share!
Angular 2 Training in bangalore , Angular 4 Training in bangalore , Angular 5 Training in bangalore , Angular 6 Training in bangalore , Angular 7 Training in bangalore , Angular 2 Institute in bangalore , Angular 4 Courses in bangalore , Angularjs Classes , Angularjs Training in Bangalore , Angularjs Training Institute Bangalore , AngularJS Classes in Bangalore , Python Training in Bangalore

Priyadarshini Yadav said...

I think this is the best article today about the future technology. Thanks for taking your own time to discuss this topic, I feel happy about that curiosity has increased to learn more about this topic. Artificial Intelligence Training in Bangalore. Keep sharing your information regularly for my future reference.

Lucky Patcher said...

whatsapp group links

anusha said...



Selenium Training in Chennai Searching for Best Selenium Training in Chennai ?.BITA Academy is the Best Selenium Training Institute in Chennai.. Our Selenium testing course is taught by Experts.Become a Selenium Certified Professional.

Kovalan J said...

Looking to add extra style to your content, make use of our strikethrough Text Generator to add amazing line through text in desired platform. Strikethrough in Google Docs.

ammu12 said...

Thanks for such a great article here. I was searching for something like this for quite a long time and at last, I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays.angularjs best training center in chennai | angularjs training in velachery | angularjs training in chennai | angularjs training in omr