How to Start Core Java for Selenium Automation

702.9K views
•
October 20, 2016
by
Naveen AutomationLabs
YouTube video player
How to Start Core Java for Selenium Automation

TL;DR

Start with basic Core Java before attempting Selenium automation, because Selenium libraries and methods must be used through a supported programming language. The training recommends configuring Java and Eclipse, creating a consistent workspace, and practicing regularly. It introduces Java as a high-level, object-oriented, platform-independent language, but the provided transcript ends before explaining primitive and non-primitive data types in detail.

Transcript

hello team welcome to Java inum training okay so this today we are going to cover we have to start Java Basics what exactly Java is all about and why Java is really important to learn selenium first thing I wanted to mention in this particular training that without selenium or without java you cannot imagine about Automation and without java you ca... Read More

Key Insights

  • Basic Core Java is presented as a prerequisite for understanding Selenium code because Selenium provides its own methods, libraries, and functions, but learners still need a programming language to implement and use those capabilities effectively.
  • Java and Selenium are described as a widely used automation combination across companies in the United States, Europe, and India. The instructor claims that around 90% of companies use this combination, making Java knowledge valuable for automation testing roles.
  • Advanced Java is described as unnecessary for the Selenium training covered here. The recommended foundation is basic Core Java programming, which is intended to help learners write Selenium code, understand existing frameworks, and eventually design frameworks from scratch.
  • Consistent practice is identified as the central requirement for learning programming. The instructor says coding is neither rocket science nor an overnight journey, and expects learners to notice early progress after 3 or 4 days of following sessions and writing code.
  • Java is introduced as a high-level, object-oriented programming language that is freely available. The transcript describes it as open source and license free, allowing learners to download it from Oracle and configure it on their chosen operating system.
  • Platform independence is presented as a major Java advantage. According to the lesson, Java can work across Linux, Unix, macOS, and Windows systems, so learners can configure and use the language on several commonly encountered computing platforms.
  • Eclipse is described as an integrated development environment that provides a place to write, compile, execute, and manage Java code. It is presented as a smart, user-friendly editor that can expose classes and methods while supporting program execution and output.
  • A dedicated Eclipse workspace is presented as the proper way to organize projects, class files, and source code in one physical location. The demonstration creates a Java training folder inside Documents and selects it as the workspace before Eclipse initializes its workbench.

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: Why should testers learn Core Java before Selenium?

Testers should learn basic Core Java first because Selenium offers methods, libraries, functions, and programming interfaces that must be implemented through a supported programming language. The instructor says starting directly with Selenium would make its code difficult to understand. Core Java supplies the programming foundation needed to write automation code, follow existing frameworks, and understand how Selenium instructions are structured.

Q: Do beginners need Advanced Java for Selenium automation?

Beginners do not need Advanced Java for the Selenium training described in the lesson. The instructor specifically recommends basic Core Java programming and says the course starts from scratch for freshers, manual testers, and people without computer science backgrounds. This basic foundation is intended to prepare learners to write Selenium code, understand existing automation frameworks, and develop frameworks from the beginning.

Q: Why is Java considered important for automation testing jobs?

Java is considered important because the instructor describes Java with Selenium as a leading combination in automation testing across the United States, Europe, and India. The lesson claims that around 90% of companies work with this combination. It also says interviews may spend the first 10 to 15 minutes of a 30-minute telephone round evaluating Java before Selenium and manual testing skills.

Q: What is Java according to this beginner lesson?

Java is introduced as a high-level computer programming language based on object-oriented programming concepts. The lesson describes it as freely available, open source, license free, and platform independent. It also states that Java was initially developed by Sun Microsystems and later acquired by Oracle, which now releases different Java versions for users to download and configure.

Q: What does platform independent mean for Java?

Platform independent means Java is presented as capable of working on different operating systems rather than being restricted to one platform. The instructor names Linux, Unix, macOS, Windows 7, and Windows 8 as examples. Learners can therefore download and configure Java according to the machine they use, then begin writing programs within their selected development environment.

Q: What is Eclipse used for in Java programming?

Eclipse is used as an editor and integrated development environment for Java programming. It gives learners an organized place to write, compile, execute, and save code while accessing relevant classes and methods. The instructor contrasts it with writing code in Notepad or a Word document and describes Eclipse as a smart, famous, user-friendly tool used by many companies.

Q: How do you create an Eclipse workspace for Java training?

Launch Eclipse and use the workspace selection screen to choose a permanent physical location for project files. In the demonstration, the instructor browses to the Documents folder, creates a new folder named Java training, opens it, and confirms that path as the workspace. Eclipse then initializes its workbench and stores projects, Java classes, and related code in that selected location.

Q: Which Java topics are planned for the beginner training?

The planned beginner topics include what Java is, why it matters for Selenium, what Eclipse does, how to write a first Java program, Java data types, console output with System.out.print, string concatenation, comparison operators, if and else conditions, loops, and arrays with their advantages and disadvantages. The provided transcript mainly covers the introduction and Eclipse workspace setup, not detailed data-type instruction.

Summary & Key Takeaways

  • Basic Core Java programming is presented as the foundation for learning Selenium automation. The instructor says beginners, freshers, manual testers, and learners without computer science backgrounds can start from scratch. Advanced Java is described as unnecessary for this course, while consistent practice is emphasized as essential for developing practical coding and interview skills.

  • Java is introduced as a high-level, object-oriented programming language that is freely available and platform independent. The instructor states that it was initially developed by Sun Microsystems and later acquired by Oracle. Java can be downloaded for systems such as macOS, Windows, Linux, and Unix, then configured for programming work.

  • Eclipse is introduced as an integrated development environment for writing, compiling, executing, and organizing Java code. Learners are shown how to launch Eclipse, select a workspace, and create a dedicated Java training folder. The planned syllabus includes data types, console output, strings, comparison operators, conditions, loops, and arrays, although these are not demonstrated here.


Read in Other Languages (beta)

Share This Summary 📚

Explore More Summaries from Naveen AutomationLabs 📚