Implementation of automated workflow testing - selenium-webdriver

I have doubts on how to implement test automation in the company where I am currently. I was wondering what workflow do you suggest?
The project I will be working on uses, on its back-end, the Java language. At first, I want to propose the use of Selenium Webdriver with Java, but some gaps remain:
How would I integrate with problem tracking tools? (Mantis or Jira)
A team member suggested using Python with Selenium Webdriver, is it interesting? (I am afraid)
When developers are committed to the QA environment, how would I do automated testing automatically?
Thank you in advance for your help!

With the evolution of AUT (Application under Test) the project is sure to scale up vertically and horizontally. Hence to maintain a healthy Test Coverage you have to set up an Automation Test Suite to validate the Regression Tests.
Mantis and Jira both can be integrated using either of the Selenium clients Java and Python on demand.
While for Java clients testng is a popular framework, for Python clients you can use the unittest framework.

Related

What alternatives to Selenium WebDriver can I use for automated UI testing of a web application?

I'm working on a project that currently uses Selenium WebDriver to run automated UI tests for a web-based application. However, Selenium is no longer being approved for use on this project. My team is currently investigating alternative solutions. We need something that can be used with a CI/CD pipeline and that supports testing for multiple browser types. It would also be great if it can be integrated with Cucumber, which we also use currently, but this is not strictly necessary. I would love to hear your suggestions for anything that we can use. Thank you in advance!

Performing Automation Testing for both Web and Desktop Applications at the same time

I am performing an automation testing, and I have two applications. one is web application and the other is desktop application (WPF). They work together and one needs the other. To perform task on the desktop application the task should be finished first by the web application. I can do automation testing for the web application using Selenium or Protractor. At the same time I I can do automation testing for the Desktop application using Winium. But what I want is to perform automation for both sequentially. Is there any solution some one can provide me?
For your information my web application is developed using Angular JS.
Thank you in advance
Below is how I have configured my tests. I choose C# as the programming language. Selenium has .Net bindings so for UI interaction I use Selenium (C#). For Desktop App I am using FlaUI / (TestStack.White). My tests are written in SpecFlow (BDD's implementation in .Net). So that way I am able to test all of my apps under one umbrella and still use all of the open source technology for testing.
You can use following Tools : By using following tools you can interact with both Desktop and Web Component in a Single Test
Tosca :
It also supports Desktop and Web Automation. It's Community edition is FREE.
Refer Tosca
Ranorex
It supports Desktop, Web And Mobile as well. It is paid tool.
Refer Ranorex
TestComplete
It is an automated testing tool that lets you create, manage and run tests for any Windows, Web or Rich Client software. It makes it easy for anyone to create automated tests. And automated tests run faster, increase test coverage and lower costs. It is paid tool.
Refer Test Complete

Automatic PL/SQL Webtool kit based application using selenium

I am a newbie in Automation testing and have recently started learning selenium.
We have a Oracle PL/SQL Web tool kit based application. The Interface is used in Internet explorer.
I wanted to know if this UI can be automated with Selenium?
Thanks
Absolutely!
Generally speaking it does not really matter, what toolkit you use when testing with Selenium.
We also have a mod_plsql based application and use Selenium for our UI and integration tests.
The important decision is what environment and language to use when writing the tests. We started by using the Python bindings (https://selenium-python.readthedocs.org/en/latest/index.html) but now moved to the JavaScript WebDriverJS (https://code.google.com/p/selenium/wiki/WebDriverJs) running on NodeJS. The hard think with JavaScript that not only the tests are async but the driver itself as well.
I would start with the language you feel most comfortable with.
... and good luck: it's quite a challenge to write good tests in Selenium!

Good idea to use cucumber for Web Automation?

I'm currently running Selenium automation on Junit.
After seeing the power of Cucumber , I thought of using it. Is really Cucumber can help much in Web Automation?
Suggestion will be greatful
Cucumber is not a Silver bullet, but it has helped me to automate web application testing with ease.
I used it as an automation framework with Watir-webdriver. It was one of my successful projects.
Remember to have your steps as atomic instead of depending on other steps.

Continuous integration for automation tools

I am trying to find out as to which CI (Continuous Integration) tools are available for automation tools such as QTP, Selenium webdriver, Waitr and GEB.
Leaving aside QTP...there are multiple CI tools (Open source and paid) which are compatible with Selenium Webdriver & GEB & Watir..will focus on what we have used...
Jenkins (Open source)
I have personally used it and found very flexible with numerous plugins available as per flavor of repository and post build actions.
Best part is this is compatible with Selenium Webdriver & Watir.
Gradle (Open source)
Since we are talking about Geb (groovy language), i would recommend to use Gradle tool. Since it has awesome compatibility and easy to configure.
Not that Jenkins can't be used for Geb, i would prefer to stick with Gradle when it comes to groovy.
There are other open source tools(hudson etc) and as well as paid tools(bamboo,teamcity..etc). It all depends on what all parameters to be addressed as per project or company in your build integration...to select a tool.
I would suggest come up with ur own requirements and then start evaluating any tool.
If you looking for which automation tool is better for CI?
If That is your question, I would suggest Thucydides framework with selenium webdriver. This framework has a great support for CI with abilities to define stories, steps and others.
http://www.thucydides.info/
QTP is a costly tool but automation is faster and efficient with it. We don't have support like the Thucydides framework for CI in QTP but it can be used nonetheless. QTP also supports windows application testing as against selenium which only supports Web browser testing (Testing of web applications run in a browser)
Hope this helps you.

Resources