A solution for automating desktop applications with Java skill set

Similar documents
present Advanced MSBI Automate your SDLC

CodeSlice. o Software Requirements. o Features. View CodeSlice Live Documentation

Beyond Continuous Build: Build Grids. Darryl Bowler, CollabNet

Common Language Runtime

Date: October User guide. Integration through ONVIF driver. Partner Self-test. Prepared By: Devices & Integrations Team, Milestone Systems

Kaltura Video Extension for IBM Connections User Guide. Version: 1.0

SAFe Atlassian Style (Updated version with SAFe 4.5)

Creating an Automation Framework to make Record and Play Automation practical for Test Use Cases

Integrating QuickBooks with TimePro

Developing Microsoft SharePoint Server 2013 Core Solutions

ClubRunner. Volunteers Module Guide

Customer Upgrade Checklist

Course 10262A: Developing Windows Applications with Microsoft Visual Studio 2010 OVERVIEW

Pages of the Template

Level 2 Development Training

BMC Remedyforce Integration with Remote Support

Arius 3.0. Release Notes and Installation Instructions. Milliman, Inc Peachtree Road, NE Suite 1900 Atlanta, GA USA

Getting Started with the Web Designer Suite

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55.

Privacy Policy. Information We Collect. Information You Choose to Give Us. Information We Get When You Use Our Services

JSR Java API for JSON Binding (JSON- B)

TRAINING GUIDE. Overview of Lucity Spatial

EcoStruxure for Data Centers FAQ

App Center User Experience Guidelines for Apps for Me

Licensing the Core Client Access License (CAL) Suite and Enterprise CAL Suite

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

LiveEngage and Microsoft Dynamics Integration Guide Document Version: 1.0 September 2017

HP Server Virtualization Solution Planning & Design

INSTALLING CCRQINVOICE

Wave IP 4.5. CRMLink Desktop User Guide

Cisco Tetration Analytics, Release , Release Notes

This document describes new features and resolved issues for Intelligent Scene Analysis System

Plug-in Portfolio PLUGIN APPLICATION PORTFOLIO. Copyright by GenieSoftSystem Pvt. Ltd. All Rights Reserved Page 1

ROCK-POND REPORTING 2.1

Software Engineering

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

Infrastructure Series

Computer Science Department cs.salemstate.edu. ITE330 Web Systems. Catalog description:

Internship in PHP based Web Designing

Stock Affiliate API workflow

Product Documentation. New Features Guide. Version 8.7.5/XE6

CA CMDB Connector for z/os

Implementing a Data Warehouse with Microsoft SQL Server

Child Care Services Association Request for Proposal Durham PreK Website

Extended Traceability Report for Enterprise Architect

Nominee: Green Mountain

EView/400i Management Pack for Systems Center Operations Manager (SCOM)

Extending VMware vcloud API with vcloud Extensibility Framework

Aloha Offshore SDLC Process

HPE Unified Functional Testing

Please contact technical support if you have questions about the directory that your organization uses for user management.

ShapethefutureofCloud

How To enrich transcribed documents with mark-up

BMC Remedyforce Integration with Bomgar Remote Support

istartsmart 3.5 Upgrade - Installation Instructions

Software Toolbox Extender.NET Component. Development Best Practices

Stealing passwords via browser refresh

Downloading Webdriver Jars and configuration in Eclipse

HP MPS Service. HP MPS Printer Identification Stickers

User Guide. Table Of Contents. Logging In. Job Search. Job Information. Site Search & Logging A Job. Customer Search. Job Dashboard.

QABOOK D ESKTOP V5.0. Release Notes

Program Overview for Web Pros

Kaltura MediaSpace TM Enterprise 2.0 Requirements and Installation

Using the Swiftpage Connect List Manager

Introduction to Mindjet on-premise

UPGRADING TO DISCOVERY 2005

CROWNPEAK DESKTOP CONNECTION (CDC) INSTALLATION GUIDE VERSION 2.0

E2Open Multi-Collab View (MCV)

Power365. Quick Start Guide

JavaScript for Developers

CARAVEL. Frequently Asked Questions BASE100. BASE100, S.A.

Case Metrics Guide. January 11, 2019 Version For the most recent version of this document, visit our documentation website.

Your New Service Request Process: Technical Support Reference Guide for Cisco Customer Journey Platform

The following screens show some of the extra features provided by the Extended Order Entry screen:

Element Creator for Enterprise Architect

Tutorial on Eclipse Leshan Internet of Things (2IMN15) , Eindhoven University of Technology By Leila F. Rahman

PAGE NAMING STRATEGIES

Dear Milestone Customer,

1 Released Items Support Packages Tool Information Changes to Previous Version Installation Requirements...

Unique EL4J Features EL4J 3.1

Oracle FLEXCUBE Universal Banking Development Workbench- Screen Development II

RISKMAN REFERENCE GUIDE TO USER MANAGEMENT (Non-Network Logins)

CincyDeliver 2019 Combining The Cincinnati Day of Agile and Cincy.Develop()

CMC Blade BIOS Profile Cloning

Procurement Contract Portal. User Guide

SAP Business One Hardware Requirements Guide

MyUni Adding Content. Date: 29 May 2014 TRIM Reference: D2013/ Version: 1

TIBCO Statistica Options Configuration

Introduction. by Surekha Parekh

Course 6368A: Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2008

Element Creator for Enterprise Architect

Announcing Veco AuditMate from Eurolink Technology Ltd

This document provides new and updated items that were included in each release of Checkpoint Engage. (Each product requires a separate license.

WinEst 15.2 Installation Guide

End user ecompetence Framework: Presentation Title Developing Speaker s Skills Name and Competence for ICT Users

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2

Using the DOCUMENT Procedure to Expand the Output Flexibility of the Output Delivery System with Very Little Programming Effort

HP ExpertOne. HP2-T21: Administering HP Server Solutions. Table of Contents

AngularJS. Unit Testing AngularJS Directives with Karma & Jasmine

NiceLabel LMS. Installation Guide for Single Server Deployment. Rev-1702 NiceLabel

Transcription:

A slutin fr autmating desktp applicatins with Java skill set Veerla Shilpa (Senir Sftware Engineer- Testing) Mysre Narasimha Raju, Pratap (Test Autmatin Architect)

Abstract LeanFT is a pwerful and lightweight functinal testing slutin built specifically fr cntinuus integratin and cntinuus testing that enables and encurages develpers and QA t cllabrate in agile teams by using the same tl fr develpment and testing f applicatins. Keeping Agility in prcess we have designed light weight framewrk and implemented BDD (Behavir -Driven Develpment) apprach fr validating Regressin Test cases mainly fr windw s based applicatin(truble Ticket applicatin). Using LeanFT we can autmate applicatins f technlgies like Web, Java, Mbile, and Standard Windws and.net Windws Frms. LeanFT supprts develpment n standard IDEs with mdern prgramming languages like C# and Java. And add pen surce templates like NUnit, TestNG and JUnit t yur IDE t help accelerate yur cding and maintain yur tests ver time. We have develped ur autmatin Script in java using TestNG Template. Cncluding thughts n LeanFT With UFT 12.5 a new versin f LeanFT, HP is trying t address everybdy invlved in SDLC. Thse wh are nt happy with lack f supprt in Selenium will be happy t switch t UFT+LeanFT cmbinatin.java and C# are better alternatives and will lead t mre cllabratin between Dev and Test Teams leading t Cntinuus Integratin, Cntinuus Delivery and Cntinuus Testing. This White Paper is all abut hw a selenium tester can autmate a desktp applicatin with Selenium skill set using LeanFT.

Intrductin LeanFT is the new functinal testing tl set frm HP. As the name suggests it s the leaner functinal testing tl.essentially, LeanFT cmbines the best f bth the vendr-based and pen-surce wrlds by mrphing Selenium with sme key functinality currently fund in UFT. Remember Selenium is nly fr brwser-based testing, and des nt handle nn brwser-based ppups and windws. This is a majr issue, as mst experienced testers wrking in an Enterprise envirnment will tell yu. Quite ften ur test scripts have t deal with mre than just web-based interactins.our cmpany's gal is t try autmating as many tests as pssible, and mst f these integratin tests culd nt be handled within the current framewrk.leanft slves this issue.with LeanFT, I can nw use my existing Selenum/Java framewrk and still be able t handle these integratin-type tests.

Main Features f LeanFT: MULTIPLE IDE SUPPORT :- Add LeanFT tl and templates t yur IDE t help accelerate yur cding and maintain yur tests ver time. Lean FT supprts and integrates with standard IDEs like Eclipse, Visual Studi and languages like Java and C#. LEANFT PROJECT TEMPLATES :- Prject templates based n ppular testing framewrks: JUnit, NUnit, and MSTest that set up everything yu need t access LeanFT functinality while enabling yu t take advantage f the framewrk s capabilities and runners. INTEGRATION WITH :- Git, SvN Jenkins, TFS Cucumber, jbehave ALM

Main Functinality f LeanFT: OBJECT IDENTIFICATION CENTER A ne-stp-shp where yu can spy n yur AUT bjects, edit captured descriptins, generate test bject cde, and add bjects t the applicatin mdel. APPLICATION MODEL Use this rich UI editr, embedded directly in the IDE t build a test bject mdel f yur Applicatin, and maintain the test bjects in a single lcatin fr use acrss yur entire Testing suite. COMPREHENSIVE REPORTING WITH FULL LIFECYCLE Get straight t the bttm f issues with LeanFT s detailed descriptin f test executin flw, including clear and actinable reasns fr test failure at each step. Manage yur test lab, executin and results either in HP ALM/QC r directly with CI and Surce Cntrl tls.

Lean FT vs Selenium: Selenium :Selenium is an pen surce tl and supprts different types f languages such as Java, Pythn, PHP, C#, Ruby and pure JavaScript. Selenium, t a large extent, uses Java scripting and is the mst influential Open Surce Autmatin tl. It is ideal fr the agile methdlgy f cding and testing. LeanFT :Lean FT frm HP is a new functinal testing slutin having a set f APIs. Lean FT prvides pwerful tls like Object Identificatin Center and Applicatin Mdels. This tl is develped t target test autmatin engineers and develpers frm agile teams. Integrating Lean FT with Unified Functinal Testing (UFT) can supprt DevOps and Cntinuus Integratin (CI).

LeanFT using BDD apprach: Shrt Definitin f BDD: BDD is abut implementing the sftware by describing its behavir frm the perspectives f its stake hlders, and custmers. LeanFT supprts behavir-driven develpment (BDD) techniques using Cucumber, and taking advantage f this capability can help develpment and management teams use shared tls and a shared prcess t cllabrate mre effectively n sftware develpment.

Prject Setup: 1. Feature file Add the cucumber jar files t yur test build path. Feature file name shuld be saved with extensin.feature

2. Sample class will be created nce we create a prject : In the LeanFTTest class, we need t add the fllwing anntatin in the class. @RunWith(Cucumber.class)

3. Create ne java class in same package: Inside this class we need t implement: @Befre sectin in which the LeanFT Reprter bject is cnfigured t start a new nde in the reprt. @After sectin in which the LeanFT Reprter bject is cnfigured t end the nde in the reprt

4. Glue cde f feature file:

5. Sample Test Results: LeanFT is perfect fr Develper lking fr autmating smething mre than Unit tests. Selenium testers can test desktp applicatin. Test engineers wrking with Cntinuus Integratin, Agile r DevOps teams. (Only if the supprted add-ins is used).

Advantages f LeanFT Better Errr Handling Chse prgramming language f yur chice(c# r Java) Create meaningful testing classes with Plymrphism, Inheritance and utilize ther OOPS Cncepts. Updated capabilities with each new.net r java framewrk updates. Better memry management Integrate tests with Junit and NUnit, testng r any ther unit testing framewrks tests. Integratin available with any Versin cntrl system. Better integratin with Cntinuus integratin tls like Jenkins. Als in anther nn-hp-like mve, if yu have an existing UFT license yu autmatically have access t LeanFT at n additinal cst. Hwever grass is nt all green, there are sme draw backs f using LeanFT Web Services testing is nt Part f LeanFT BPT integratin is nt available Yu cannt use recrd and playback(that s bvius) Can nly be used fr Mbile, Windws, WEB,.Net, SeibelUI, WPF and Insight Image recgnitin.

Cnclusin LeanFT has been specifically targeted at the Selenium user base wuld be very interesting t see hw this pans ut in the marketplace in the next 12 mnths. Much f the recent increase in Selenium prjects has been because f large rganizatins seeking t diversify their tls prtflis. Technlgy trends are extremely dynamic and yu prepare tday fr anticipated changes r risk bslescence I am excited t write this white paper, because the pssibilities are endless e.g., if yu have all selenium tests and yu want t include sme f the windws based testing, which is nt available in selenium, yu can quickly include the LeanFT API s t autmate the windws based actins and then switch back t selenium.

References: https://learn2autmate.blg/2016/05/21/leanft-java-tutrial-part-1- intrductin/ http://www.testingvidya.cm/hp-leanft-verview-lean-functinaltesting/ Abut the Authr: Shilpa is a Senir Sftware Engineer wrking as Manual and Autmatin tester fr 6 years with gd knwledge n sftware test design and test executin methdlgies. Wrking in Agile Methdlgy fr 2.6 years. Wrked n varius kinds f autmatin tls and als have capability f upgrading skills with changing trends. Being wrking with a legacy prduct where agile adaptatin cmes with certain challenges, drve me twards publishing the paper.