Skip to main content

Posts

Showing posts from September, 2017

Getting started with Selenium on Mac

Getting Selenium working on Mac 1. Download Java - jdk from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Fllow the instructions to install jdk. Add jdk installed path to your environment. On Mac - Go to the terminal and type nano .profile Type the folowing into your profile: JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home export JAVA_HOME Select your Control key and o on your keyborad to write out. Press Enter to accept the changes. Then, Control and x to come off. Check that jdk is installed. Go to another terminal, type - java -version Something like the following should return-   java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode) 2. Download Eclipse IDE for jee users- https://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplersr2 Follow the instr...

Software Development step by step - part 1

Human-computer interaction: Natural computing, people and systems This program would cover analysis, to requirements and design step by step - Introduction An opportunity to create an online train ticket system. To achieve the aims, there is a need to research on the current manual train ticket systems and then build requirements base on these. Design and prototype are to be developed to meet the requirements. An evaluation of the system design is to be conducted by the designer, before prototype of the system is developed. Designers are permitted to use three other users from the public to evaluate the prototype and details are to be recorded. A diagram of the break down of the system we are going to analyse. - the current system Task Analysis Diagram Actions Textual presentation Buying a train ticket 1. Choose a Train Station 2. Enter the ...

Shape test programe - java

A java programe created with java swing and awt.  Designed to test user on their maths calculations with shapes - perimeters and areas. It's a project I am planning hopefully to extend into a web application.  Screen shots below. complete code here Running the ShapesTest.java Running ShapesBut.java Youtube video: https://youtu.be/Jp9x2-TG0Yc Find complete code on git: https://github.com/eve1234/ShapesELearning Find project documentation file : https://drive.google.com/file/d/1X38ElzdZTh5P92jHyLY_PANZKAbVNuwT/view?usp=sharing Thanks for reading

Intercort Airways - java

IntercortAirways Tried my best to convert the code from c++ into java A program use to record the total weight that a flight can carry load. Then parcels are loaded into the flight until it full. There are 3 flights. In the end user can generate a report all flights and how much profits gained. I used Netbeans to create and run my code. Below are the print screens.    Code: /*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ package intercortairways; import java.util.Scanner; /**  *  * @author Yvonne Kwarteng  */ public class IntercortAirways {     /**      * @param args the command line arguments      */     //public variables       public static int i=0, y=0, x=0;  //setup lools for eleme...