Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

ANT Another Neat Tool. What is ANT? What is Apache Ant? Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and.
Software Development Tools COMP220/COMP285 Seb Coope Ant and XML: Getting Started These slides are mainly based on “Java Development with Ant” - E. Hatcher.
Chapter 1: Introduction
ANT: Another Nice Tool Ali Beyad October 1, 2003.
ANT – Another Neat Tool Representation and Management of Data on the Internet.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
176 Formal Languages and Applications: We know that Pascal programming language is defined in terms of a CFG. All the other programming languages are context-free.
CS Lecture 03 Outline Sed and awk from previous lecture Writing simple bash script Assignment 1 discussion 1CS 311 Operating SystemsLecture 03.
1 Ant – Another Neat Tool Representation and Management of Data on the Internet.
1 Introduction to ANT Written by James Duncan Davidson Like GNU Make but specifically for Java Good for bundling and delivery of groups of classes, jars,
CSC 395 – Software Engineering Lecture 24: Apache Ant –or– Programming the results of programming Based upon a talk by Anthony Wat.
Winter 2005Jason Prideaux1 Apache ANT A platform independent build tool for Java programs.
 2006 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
Introduction to Ant David Rabinowitz. March 3rd, 2004 Object Oriented Design Course 2 Ant Yet another build tool? Why do we need one where there are make,
Introduction to Ant- a framework example Amit Shabtay.
Document Type Definitions. XML and DTDs A DTD (Document Type Definition) describes the structure of one or more XML documents. Specifically, a DTD describes:
Introduction to Java.
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
2007 Adobe Systems Incorporated. All Rights Reserved. 1 Joe Berkovitz VP Engineering Allurent, Inc. Continuous Integration with Flex, FlexUnit, and Ant.
Using Ant to build J2EE Applications Kumar
Introduction to ant Guy Rixon AstroGrid Consortium Meeting
CSM-Java Programming-I Spring,2005 Introduction to Objects and Classes Lesson - 1.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
1 VBA – podstawowe reguły języka Opracowanie Janusz Górczyński wg Microsoft Help.
Apache Ant Java-Based Build Tool. Making your builds boring… Building projects should be easy and standardized. You should not be spending a substantial.
These Questions are copied from
July 2011CMSC 341 CVS/Ant 1 CMSC 341 Java Packages Ant CVS Project Submission.
USING XML AS A DATA SOURCE. Data binding is a process by which information in a data source is stored as an object in computer memory. In this presentation,
Object-Oriented Program Development Using Java: A Class-Centered Approach, Enhanced Edition.
Ant Presentation by: Bart Taylor. What is Ant? The simple definition: A Java-based build tool The Official Definition: “Apache Ant is a Java-based build.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Ibm.com /redbooks © Copyright IBM Corp All rights reserved. WP07 ITSO iSeries Technical Forum WebSphere Portal Express– Installation, Configuration.
Introduction Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See
Javadoc Dwight Deugo Nesa Matic
Chapter 2: Introduction to HyperMesh Process Auomation
Live and Learn – ant. Resources  Ant User Manual  Skip the book, most of the material is right here  Apache.
Chapter 3 Understanding Ant datatypes and properties.
Overview of the Automated Build & Deployment Process Johnita Beasley Tuesday, April 29, 2008.
Software Development COMP220/COMP285 Seb Coope Introducing Ant These slides are mainly based on “Java Development with Ant” - E. Hatcher & S.Loughran.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
Chapter 1 Introducing Ant. What is ant? Ant is a build tool  Automate the tasks of compiling code, running test, and packaging the results for redistribution.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Test Automation For Web-Based Applications Portnov Computer School 1 Selenium HP Web Test Tool Training.
Visual Basic CDA College Limassol Campus COM123 Visual Programming 1 Semester B Lecture:Pelekanou Olga Week 5: Useful Functions and Procedures.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Objective You will be able to define the basic concepts of object-oriented programming with emphasis on objects and classes by taking notes, seeing examples,
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Chapter 1: Introduction to Computers and Programming.
CHAPTER 9 File Storage Shared Preferences SQLite.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
RTLAB Real-Time System Build automation School of Electronics Engineering College of IT Engineering Kyungpook National University Jun Sang ho (Rm) IT1-501.
Using Ant in Eclipse Dwight Deugo Nesa Matic
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
SG Introduction to ANT scmGalaxy Author: Rajesh Kumar
An Introduction to Ant. What is Ant? How do you use it? Why would you want to?
HTML Structure & syntax
NAnt Build Tool CSE784 : ProjectCentralNet Prof : Dr. Jim Fawcett
Ant.
Automation with Gwen Introduction.
Test Automation For Web-Based Applications
Nilanjan Banerjee Java Packages Ant CVS Project Submission
HTML Structure & syntax
Presentation transcript:

Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel

2 Day 3 Introduction to Ant

 Named Ant because it was a little thing that could build big things  Apache Ant is a software tool for automating software build processes. It is implemented using the Java language, requires the Java platform, and is best suited to building Java projects.  Ant build files are written using XML  Can be created with any text editor 3

 The Ant buildfile (build.xml) exists in the project base directory. ◦ This is typical, although you are free to use other filenames or put the buildfile somewhere else.  Buildfiles consist of the required element, and many properties, tasks, and targets.  The first line is the XML declaration. ◦ No preceding blank lines or spaces are allowed. In fact, even a single blank space before <?xml causes the XML parser to fail.  XML is very picky about capitalization, quotes, and proper tag syntax. ◦ If any of these items are incorrect, Ant fails.

 The element establishes the working directory for our project. ◦ This is the directory containing the buildfile.  It also specifies the default target ◦ The purpose is to designate which target should run first, if no other arguments are passed to ant from the command line. Example:

 The definitions allow us to avoid hardcoding directory names throughout the buildfile.  These paths are always relative to the base directory specified by the element.  For example, the following tag sets the name of our source directory:

 Developers interact with targets when invoking Ant from the command line.  Each target has a name, and defines zero or more dependencies, along with an optional description attribute.  Dependencies specify targets that Ant must execute first, before the target in question is executed.  The description attribute provides a human- readable description of a target that Ant will display on command

 Within targets we have tasks, which do the actual work of the build.  Ant ships with over 100 core and optional tasks  These tasks perform functions ranging from creating directories to playing music when the build finishes.  You can find all of the tasks described in detail here:

ant  To execute the tasks in the default target type the following command from the directory containing our build.xml file: ant  Ant will open the default buildfile and execute that buildfile's default target.

 When you invoke Ant without specifying a buildfile name, Ant searches for a file named build.xml in the current working directory.  You aren't limited to this default; you can use any name you like for the buildfile.  To specify a different buildfile, type this command instead: ant -buildfile otherName.xml

 We can also explicitly specify one or more targets to run. ◦ ant target_name  We can also execute several targets with a single command: ◦ ant target_name1 target_name2 …