Automatic PL/SQL Webtool kit based application using selenium - selenium-webdriver

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!

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!

Implementation of automated workflow testing

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.

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

How can automation testing on Silverlight using Selenium be done?

I am looking for a way by which I can automate my application build on Silverlight.
I need to use Selenium as required, can anyone tell a process or any good tutorial by which I can achieve what I require.
Thanks in advance.
Take a look at:
http://code.google.com/p/silverlight-selenium/
and
Silverlight testing: Watin vs Selenium comparison
Also bear in mind that Silverlight's future looks uncertain:
http://www.hightechnewstoday.com/apr-2011-high-tech-news-archives/74-apr-13-2011-high-tech-news.shtml and http://www.electronista.com/articles/11/11/09/microosft.may.axe.silverlight.after.major.release/
etc. etc.
So you may prefer to consider HTML5 for future projects after completing your current Silverlight project, as HTML5 has a brighter future because of its cross browser support and efficiency compared with proprietary technologies like Flash and Silverlight.
I suggest Sikulix which a desktop automation tool using which you can automate almost everything. which uses text interpretation of image so that us can locate your component.
If you are using python selenium i suggest to use pyautogui which is nice python package to automate silverlight web pages.

Automated Silverlight 5 Unit testing for business logic

Our team is using Silverlight 5 for development as it has features we require going forward. I have discovered that NUnit doesn't work as standard as it isn't Silverlight and that the tools available for Silverlight testing appear to primarily be aimed at running within browsers and are a pain to automate it seems.
However a lot of the code I want to test is the View Models which aren't specifically Silverlight, so I was hoping there is a way of using NUnit or similar to just test this and integrating into a build server (which is currently being decided upon)
So, is it possible to test Silverlight in this way?
I haven't tried it but looks interesting:
http://statlight.codeplex.com/
and what about third parties (maybe Telerik offers something on their testing suite).
I know it's no ideal, but if it's just VM and non dependant on UI you can link the files to a WPF project and execute the unit tests (in our case we had to share two versions the SL and the WPF one that's why we chose to test our VM in the WPF version :-)).
The unit testing from Silverlight (toolkit) I haven't found a way to link it to an automated build process
The best solution I have found is AgUnit:
http://agunit.codeplex.com/
AgUnit is an open source plugin for ReSharper. This solution of course assumes that you're using ReSharper. AgUnit allows you to run Silverlight unit tests in the ReSharper test running. Unfortunately, I just checked the AgUnit site and it looks like they only support Silverlight 5. You may want to head over there and find out about their plans for supporting Silverlight 5 though as it is a great plugin.
Prior to using AgUnit, we were using Statlight and found it to be pretty good as well, just not quite as convenient as AgUnit.

Resources