Automating Functional Test - testing

I am a person who works as a SW QA in Korea. I have used Jira Old Version(Local System) to Track issue out and github to manage Site Source. Now i am considering to change Test System. until now, i have had to test all function that was updated in my solution manually!!. so i start wondering how i can automate this. What i want is to test main system and sub system(function) with using program like Postman. So i hope you recommend some programs to test what i want all.
Test Priority is Automation of that below
easy use
Main Source Test
Sub(Function) Source Test
please, i will wait for your answer
I have used Jira Old Version(Local System) to Track issue out and github to manage Site Source. i want to automate all test including black box, UI function.

Related

Test the execution of a Selenium automation

I don't know if this is unusual, but I'm wondering if I should test my automation that uses Selenium (written in Python).
Basically, I have to login and perform some actions in an old web application that doesn't have public APIs, so this is the only way to automate what I need to do. It's an application from my city hall to create tax receipts.
But I couldn't think of a way to test if my code will work. Right now it's working, but I'm refactoring a few things and thought that there could be something I can do to test if things will continue to work as they should. The problem is that it's a critical automation, and it's only used once per month; I don't have access to any kind of sandbox environment. What I usually do if I need to run the automation is to create a tax receipt of my own company, with $1 value, and then I just cancel it, but it's... weird.
One thing that crossed my mind was to perform the automation one time and in every step just save the whole HTML. Then, I could write tests and mock the page clicks / navigation; instead of loading the URL, it would load the HTML file.
I know it wont't be 100%, in production there can be errors that I haven't foreseen. But then I can update my tests to include these corner cases as they happen. Anyone had experience with this type of thing before?

Jubula Automated Function Testing?

I am new to Jubula.Struggling hard to understand the flow of Jubula.I have installed the standalone application of Jubula(Version:8) in windows.I am finding tutorials to test java RCP application but I need to test a Website.Is it possible to test web sites using Jubula?
There isn't a tutorial for testing a website at the moment. However, once you've understood how tests are created in general, the steps are the same for testing a web application.
The one main difference is that the object mapping is performed via click instead of via key combination. Relevant documentation is here and in the reset of the user manual and in the reference manual:
http://help.eclipse.org/mars/topic/org.eclipse.jubula.client.ua.help/content/html/userManual/toolkit/webAUT/webaut.html?cp=45_3_5
I'm assuming that you've found the "cheat sheets", which take you through the steps and workflows of working with Jubula? If not, they are under "Help/Cheat Sheets" in the application.
The Jubula forum is also a good place to ask questions:
http://www.eclipse.org/forums/index.php?t=thread&frm_id=208

Launching selemium scripts from browser for screen capture

I am looking for creating a functional training package for a web based product (more like a screen capture).
However, the requirement is not just to have screen capture, but to have a test mode for the training where we can prompt the user to click on the screen and check if they have done proper flow.
for e.g. A banker will first go through the screen capture to see "how to open an account" in the core banking application . Later user will be presented with a test where user has to click through all the controls and flow.
I have seen selenium being used for authoring good UI automation test cases, so I wanted to explore the possibility of using selenium for creating these training modules
These training modules needs to be launched from intranet application. Is it possible to launch selenium authored UI automation test cases from the browser? I want to stay away from writing any extensions or plugins.
I haven't used selenium and I might be completely off tangent here, so any other suggestion to achieve this using open source tools are welcome.
Without writing any scripts, you may consider downloading Selenium IDE. It has a recording and replay function that may meet your need.
For a fast tutorial, please follow this link.
https://www.youtube.com/watch?v=gsHyDIyA3dg
Hope it helps.

Testing progressively enhanced features with Capybara

I'm using Capybara to test features on a progressively enhanced website. Let's say my feature is to navigate around a hierarchy of locations. The non-javascript version involves getting a new version of the page when we click around on different locations. The enhanced javascript version opens up hidden elements, or loads up new information via Ajax.
I start by writing a test for the non javascript version, which looks something like this:
When I visit the page for "UK"
And I click "London"
Then I should see the information for "London"
Using the default mechanize driver, the test fails, I develop the feature, then the test passes.
I then create an identical test for the javascript version, flagged up with #javascript. It runs the test with the javascript driver, and that test passes because the feature has been implemented. (It's running through the non-js flow). However, I want the javascript version of the test to fail at this point because the feature has not yet been enhanced with Javascript.
So I'm looking for a good strategy for determining whether or not a whole new page has come from the server, and making sure both versions of the feature work. (I plan on integrating this with pushState so testing for a changed URL won't do)
I'm interested to hear other peoples opinions on this - I'm not convinced Cucumber is the right tool for the job, since you're describing features from the perspective of user interaction, and it sounds like your implementation of progressive enhancement will result in essentially the same user interaction.
That aside, I think you may want to consider building in some kind of testing hook to the page itself to help with this. Hard to say what without knowing your exact situation, but maybe one of:
The script-enhanced version of the page could add some element to the DOM, indicating that the enhancements are active, or indicating that the data came from an AJAX request rather than page load.
You could generate a random page identifier (from the server) on every load (e.g. new GUID), embed this into the DOM and assert that it hasn't changed after the interaction (on the enhanced version). This would be a very simple way of achieving your stated goal ("determining whether or not a whole new page has come from the server")
Why does your javascript "enhanced" version work the same as your non-enhanced? Your cucumber tests using #javascript should be testing to ensure the enhancements work.
For instance,
* if the javascript opens a modal dialog instead of following a link to a new page, test for that.
* if the javascript submits a form and updates a value, test for that.
These tests would fail if run without javascript support.

Test Manager for Trac questions

I'm looking for a way to better manage a list of test cases within Trac. The Test Manager plugin for Trac seems to be the obvious choice.
Anyone have experience, comments and/or concerns with the Test Manager plugin for Trac?
We've also looked at Testuff, which has an awesome "Test Runner" app that integrates with Trac for creating tickets. However, it stores all of the test cases, labs, etc on their servers. I'd really like to have a single destination for documentation, tickets and tests (i.e. Trac).
We're using SnagIt for screen capture and annotations today. We're looking at the Problem Steps Recorder in Windows. We'd like to find something that can send captures to Trac, similar to the Testuff-Trac integration.
Any suggestions for an app that can capture video/images with each mouse click and key press logged? BONUS: Attach capture(s) into a new Trac ticket.
For capturing movies and uploading into Trac, try http://www.bbtestassistant.com/
For single screen captures, annotation and uploading into Trac, try http://fat-bug.com
I have also written a plugin for Cropper, http://cropper.codeplex.com/, that will let you upload images but it does not support annotations before hand like fat bug. Let me know if you want a copy of that.
We used Test Manager Plugin For Trac in one of my previous projects and I can say that it worked fine for us. It provides bidirectional traceability between Test Cases and user stories, support test plans (which in my point of view are execution plans but incorporated with wiki page become test plan) and it also as most of the Trac plugins allow to be customized in order to satisfy the process needs.