Skip to main content

Posts

Showing posts from March, 2018

Class 1 Java introduction

What is Java Java is a  programming language  and a  platform . Java is a high level, robust, secured and object-oriented programming language. Platform : Any hardware or software environment in which a program runs, is known as a platform. Since Java has its own run time environment (JRE) and API, it is called platform. Features of Java The Java Features given below are simple and easy to understand. Simple Object-Oriented Portable Platform independent Secured Object-oriented Java is Object-oriented programming language. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior. Basic concepts of Oops are: Object Class Inheritance Polymorphism Abstraction Encapsulation Variable Variable  is name of  reserved area allocated in memory . In other words, it is a  name of memory location . It is a...

Eclipse New Maven Project: Could not resolve archetype

Close Eclipse Delete repository folder (you can find it in C:\Users{your user}.m2) Open Eclipse again. It will install maven repository automatically down v Open Window > Preferences Open Maven > Archetypes Click 'Add Remote Catalog' and add the following: Catalog File:  http://repo1.maven.org/maven2/archetype-catalog.xml Description: maven catalog

How to setup Appium for mobile automation

GitHub is a code hosting platform for version control and collaboration.  When a project is to be created, constant changes are made to the code. Version control systems keep these revisions straight, and store the modifications in a central repository.   A repository is a location where all the files for a particular project are stored. Each project will have its own repository, and can be accessed by a unique URL. Step 1: Install Appium-desktop-setup-1.2.6 (from the link Appium.io) Step 2: Install JDK Step 3: Install android studio-bundle (from developerandroid.com) Step 4: Go to AppData->Local->Android->Sdk Step 5: Copy the above path and set the path of a new environment variable “ANDROID_HOME” Step 6: Copy the above path, append \tools and add it in the path variable Steps 7: Copy the path from Step 5, append \platform-tools and add it in the path variable Step 8: Go to AppData->Local->Android->Sdk->tools->bin->uiautomatorview...

Automatic recording and save steps tool for Win-7 and Win-10

To record and save steps on your computer To open Steps Recorder, select the  Start    button, and then select  Windows Accessories  >  Steps Recorder  (in Windows 10), or  Accessories  >  Problem Steps Recorder  (in Windows 7 or Windows 8.1). Select  Start Record . Go through the steps to reproduce the problem you’re trying to diagnose. You can pause and resume the recording at any time. (Optional) As you record, select  Add Comment , use your mouse to select the part of the screen that you want to comment on, type your comment, and then select  OK . When you’re done, select  Stop Record . Review the record of the steps you followed to make sure it shows what you want it to show. Select  Save , name the .zip file, choose where to save it, and then select  Save . Now you can attach and send this .zip file to the person helping you troubleshoot the problem on your PC. It can be viewed in a...

Required Software for Selenium Setup

Ø   Download and Install Java Development Kit (JDK) on Windows using following URL : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 1.    Select the radio button to “ Accept License Agreement ” and choose the JDK that corresponds to your OS (Operation System -Windows, Mac, Linux, etc.) 2.    Click on download button and save the file 3.    Once get downloaded after that double click and start installation Ø   Set Up Java Environment Variable Path There are two types of environmental variables: 1.     User Variables :  Specific to a particular Windows user account 2.     System variables :  For all the user of the machine Step 1: Setting the JAVA_HOME a.     Right-clicking  on ‘ My Computer’  and click on Properties b.    A pop up window will display...