Selenium Tutorial 6: Introduction to Java

preview_player
Показать описание
Introduction to Java tutorial explains Usage of Java Programming, Java Syntax rules and Java Environment Setup. Download and Install Java, Writing java programs using Notepad, compiling and executing Java programs form Command prompt. Download Eclipse IDE, Extract Eclipse, Launch Eclipse , Write & Execute Java Programs. Eclipse IDE configuration for Java.
Рекомендации по теме
Комментарии
Автор

Dear Sir, I have gone through many training sessions about JAVA from Youtube or INTERNET, but i could not get the clear picture about the Java, but I got the very clear picture from your trainings sessions. Your teaching is absolutely fantastic Sir. No one can explain this much in-depth level about each and every concepts. I am feeling more happy that i am understanding java clearly. All because of your outstanding teaching only. Thank you so much your wonderful service to students. Kindly continue your invaluable service. Thanks again Sir.

bernardrozario
Автор

Class Notes:
Selenium Class 6: Introduction to Java

i) Introducing Java Programming Language

ii) Java Environment Setup

iii) Java Program Structure/Java Syntax

i) Introducing Java Programming Language

> Java Programming Language was developed by Sun Microsystems in 1995, Now it is
subsidiary of Oracle corporation.

> Java is an Object Oriented Programming Language, In Java everything is object, Java
can be easily extended since it is based on the object model.

> Java is a Platform independent language, It can be compiled and interpreted.

> Java is Simple easy to learn and implement.

> Java is Securable, Using Java we can develop virus free and tamper free systems.

Usage of Java

> Developing Desktop Applications (Ex: Acrobat Reader)

> Developing web Applications

> Developing Enterprise Application (Ex: Banking, Insurance Applications etc...)

> Developing Mobile Applications

> Developing Embedded Systems.

> Smart Cards

> Games software etc...

> Test Automation

Java Syntax

> Java is case sensitive language

> First letter of Class Name should be in Upper case

> Method names should start with lower case letter.

> Java program file name should exactly match with class name.

> Java Program execution starts from main method, which is mandatory in every Java program.

> Every Statement should end with semi colon symbol.

> Code blocks enclosed with {}

ii) Java Environment Setup

Steps:

> Download Java Software (JDK) and Install.

> Set Environment Variable (Path Variable).

> Download Eclipse IDE and Extract.

In Computer Programming we have Three steps

i) Writing a Program.

ii) Compiling the Program

iii) Run /Execute the Program

Step 1: Writing a Program.

public class Sample{
public static void main(String [] args) {
System.out.println ("Hello Java World");
}
}

Step 2: Compiling the Program

Change to Java program file directory.

Type javac Sample.java

(* it creates Java class file)

Step 3: Run /Execute the Java program

Type java Sample

In Test Automation using Selenium, we use an Integrated Development Environment (IDE) like
Eclipse IDE.

> Eclipse IDE (Integrated Development Environment)

> Eclipse IDE is a platform to create and Run /execute programs like Java, Perl, Python,
Ruby, PHP etc...

> Eclipse IDE is open source (eclipse Public License)

It provides Editor, help for Syntax, context help, auto compilation, debugging etc....

Download Eclipse IDE and Extract.

Write and Execute a Java program using Eclipse IDE

Steps:

> Launch Eclipse IDE

> Create Java Project

> Create Java Package

> Create Java Class

Write java code in the Class file and Run

gcreddy
Автор

Very informative, easy to understand and follow the instructions..I was struggling with Jdk and eclipse installation...finally installed successfully..thanks so much

rajniduggal
Автор

Your teaching method is precise sir. Thank you so much:)

diptisable
Автор

Hello Sir,
Thanks a ton for the Selenium tutorial videos! Getting ideas on java and selenium in a very clear way from your teaching.


Also i have downloaded eclipse ide mars and extracted it but when i am trying to launch the application it throws error you please help me resolve this issue?
Thank you so much sir!!

aiswaryakarthik
Автор

Hi Sir,
I have installed Java as per your steps in the video, but i am facing some issue while i run the program.Could you please guide me on resolving it.The error message was"The selection cant be launched, and there are no recent launches."

karthiks
Автор

Hello Sir,
While installing Exclipse, after extracting eclipse folder I have Configuration, dropins, features, p2, plugins, .eclipseproduct, articrafts.xml, eclipse.ini, eclipse.exe. When I tried to click on eclipse.exe it shows" The Eclipse Executable Launcher was unable to locate its companion shared library." What is this and how can I extract it properly ?
Could you please help me with this.

haripraneetha
Автор

Hello sir i am unable to run ecllipse in my computer, Its show bak log error. Please help me

mahesh
Автор

sir i want to learn the selinium can you please provide me note.i know java very well i have learn java from durga sir.now i want to learn selinium please guide me fro where i can start learning selinium

chandanrai
Автор

Sir, for selenium tutorial 1 to 5, I could see the link for notes, from tutorial 6 onwards we dont have notes link in the video description. Can you please provide the notes link?

deepakkannan
Автор

I have downloaded eclipse ide mars and extracted it but when i am trying to launch the application it throws error you please help me sir.

sushumagoru
Автор

Sir, i tried to download ecliple neon 3. after download i extracted. after extraction while launching eclipse it shows error after submitting workspace. (Error: see the log file, C:\metadata\.log). Can you clarify that sir?

sureshnaidu
Автор

Hello sir, I am looking for ETL testing can you provide classes for that

madhurireddy
Автор

Sir, Would you Please provide me notes link of all the videos in my mail-id.

nehaneha
Автор

Hi Sir, this is an excellent videos but
can i get notes please

devendrapatel
Автор

Sir, in window 8 (64 bit) for Java Environment setup, in cmd if type Java provide details, but while type javac gives detail error problem why ? can you please provide the reply?

anamikasharma
Автор

Sir, Your videos are actually awesome.I am watching it from first video.Hats off sir.But there are actually 2 copies of videos.That is introduction to java is taught in this video as well as your 43rd video.Which one should i see sir?.Should i see from 43rd video or continue seeing from this video only?.

PramodSubramanyam
Автор

System.out.print also work, why?
no need of println?

afsalsb
Автор

Hi stop too much of irritating ads then everyone will watch your videos.

Tourforu
Автор

Hi Sir,
I installed jdk software in C:\Program Files\Java\jdk1.8.0_141\bin and I set the path variable to it only.BUt while running in cmd, it is giving details for java but not for javac.Can you please tell me what's the issue?

ShekharSinha
join shbcf.ru