I have recently got to work with a project, where the main part of the application is to adding and working with chrome extension, and we had to automate this part. As you know, it is easy to add a chrome extension using Selenium, but it was challenging to find a work around to click on the extension, select one of the options displayed and work on it. That made me think about alternatives to Selenium and what other options were out there to choose from.
So I decided to go looking for some Selenium alternatives for testing.
Alternatives to Selenium
As we were looking for an alternative, I come across “Sikuli” which was very interesting to work with. This uses image recognition, to identify an object, and performs the actions, but this is something similar to human actions, as we can see the mouse moving while the script is getting executed.
We will have to feed in the image of the object on which we want Sikuli to perform, and use skiuli functions like click, drag etc. to perform the desired actions.
For those who have to deal something similar, I would say Sikuli is a cheap and best option, as the source file is open to all. Though AutoIt was our first option, we were unable to identify the Chrome extension using that. If you have an idea of how to perform a similar action using AutoIt, please feel free to comment! Thanks for reading!
About The Author
Aiswaria is an Automation Test Engineer with over 4 years of experience working in Software Testing field. Based in Sydney Aiswaria works for one of the reputed organisations here as an Automation Test Analyst. Aiswaria has extensive experience working with Selenium/ Java, and works with web and mobile applications also. He also has experience in designing and implementing Automation frameworks like Page Object Model, Data Driven and Hybrid (Data and Keyword Driven). His main area of expertise is Selenium/ Java/ TestNg/ Cucumber.