August 31st, 2017 by inflectra
We heard from one of our customers recently that due to breaking changes in the Firefox plugin model, Selenium IDE will no longer work. This somewhat sad news took us by surprise since we didn’t realize that Selenium IDE had not been migrated to the new WebExtensions plugin architecture. Hopefully, that will happen, but we have some good news in the meantime!
SpiraTest and RemoteLaunch already provide a solution.
Selenium IDE is an integrated development environment for Selenium scripts. It is implemented as a Firefox extension, and allows you to record, edit, and debug tests. Selenium IDE includes the entire Selenium Core, allowing you to easily and quickly record and play back tests in the actual environment that they will run in.
The tests themselves are simple HTML tables with three columns:
open | http://www.google.com/webhp | |
assertTitle | ||
type | q | ${query} |
click | btnG | |
waitForPageToLoad | 5000 | |
isTextPresent | ${matchtext} |
The columns are as follows:
With Selenium IDE, you can run these commands directly against the browser. While SpiraTest doesn't provide this exact same functionality, we do have something similar.
As described in more detail in the SpiraTest RemoteLaunch Manual, you can reuse your existing Selenium IDE tests in their standard HTML format and have SpiraTest (together with RemoteLaunch) execute them against Selenium WebDriver directly. Unlike Selenium IDE, Selenium WebDriver (hereafter WebDriver to avoid confusion) does continue to work with Firefox 55 and later (as well as other browsers such as Edge, Chrome, Opera, etc.).
To add your Selenium IDE script to SpiraTest, simply create a new test case, go to the Automation tab and choose the Selenium plugin from the list, enter in the path to the Selenium IDE HTML format test script and click Save:
Then once you have done that, you should install RemoteLaunch and the Selenium WebDriver plugin for RemoteLaunch:
You can now schedule and execute SpiraTest test sets using RemoteLaunch. RemoteLaunch will read the HTML file and invoke the appropriate Selenium IDE commands against WebDriver using the specified browser inside RemoteLaunch.
We have shown above the most straightforward case to reuse your existing Selenium IDE test cases, simply linking to your existing HTML format tests. However, suppose you want to simply store the tests inside SpiraTest and not worry about managing files and locations. In that case, we have a simplified syntax using the Pipe (|) character to simulate the three-column tables directly inside SpiraTest.
In this syntax, you simply separate the three cells with a pipe:
open||http://www.google.com/webhp
assertTitle||Google
type|q|${query}
click|btnG
waitForPageToLoad||5000
isTextPresent||${matchtext}
To use this, change the Automation type of the script in SpiraTest to Attached (instead of Linked) and simply paste it into this script:
Ask an Inflectra expert:
And if you have any questions, please email or call us at +1 (202) 558-6885
SpiraTest combines test management, requirements traceability & bug-tracking
SpiraTeam brings your teams together, managing the entire application lifecycle
SpiraPlan lets you manage your programs and portfolio of projects like never before
Orchestrates your automated regression testing, functional, load and performance
The ultimate test automation platform for web, mobile, and desktop applications
The help desk system, designed specifically for software support teams
Cloud hosted, secure source code management - Git and Subversion
Exploratory testing capture tool that automatically records your testing activity
Let us deal with the IT pain so you don't have to. Or use on-premise if you prefer.
Our customers work in every industry imaginable. From financial services to healthcare and biotech to government and defense and more, we work with our customers to address their specific needs.
Our products do not enforce a methodology on you, instead they let you work your way. Whether you work in agile development, Scrum, XP, Kanban and Lean, Waterfall, hybrid, or Scaled Agile Inflectra can help.
If you want to learn more about application delivery, testing, and more take a look at our whitepapers, videos, background papers, blog, and presentations.
Our suite of Accelerators speed up your deployment and adoption of our products, increasing your return on investment and reducing the cost of ownership.
We collaborate with a wide range of teams to bring our customers a range of services (including load testing, training, and consultation), complimentary technologies, and specialized tools for specific industries.
Learn how different organizations have benefited from using Inflectra products to manage their software testing and application develooment.
Outstanding support is the foundation of our company. We make support a priority over all other work. Take a look at our support policy.
Discover great tips, discussions, and technical solutions from fellow customers and Inflectra's technical experts.
If you can't find the answer you're looking for, please get in touch with us: over email, phone, or online.
We are constantly creating new videos to help customers learn about our products, including through in depth webinars, all freely available along with a wide selection of presentations.
We provide a number of resources to help customers learn how to get the most out of our products, with free online resources, virtual classrooms, and face to face.
Read about Inflectra, our manifesto, and values. Meet our incredible customers who are building awesome things, and our leadership team that are committed to building a great company.
The Inflectra Blog contains articles on all aspects of the software lifecycle.
In addition we have whitepapers,
background articles, videos and
presentations to help get you started.
Events are a big part of our awesome customer service. They are a chance to learn more about us, our products, and how to level up your skills with our tools.
We partner with educational institutions and individuals all over the world. We are also a great place to work and encourage you to explore joining our team.
Please contact us with your questions, feedback, comments, or suggestions. We'll get back to you as soon as possible.
When you need additional assistance (be it training, consulting, or integration services) our global certified solution provider partner network is ready to help.
At Inflectra, we are fully committed to provide our customers with the very best products and customer service. Check out some of our recent awards.
We want to help developers extend and customize our tools to fit in with their needs. We provide robust APIs, sample code, and open source projects.