Todays Workshop Notes
Todays Workshop Notes
https://www.youtube.com/amolujagare
https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html
Programming → language
class ClassName
{
public static void main(String[] args)
{
// statements
}
class HelloWord
{
public static void main(String[] args)
{
System.out.println(“Hello World”);
}
1. Compile
Javac fileName.java
2. Run
Java className
a = 10;
b = 20 ;
c;
c =a+b;
Datatype
int , double
class Addition
{
c = a+b;
System.out.println(c);
}
}
Todays Task
Submit before 4 PM
http://youtube.com/amolujagare
Queries : [email protected]
Day 2 :
1. Eclipse
https://www.eclipse.org/downloads/
2. Intellij idea
https://www.jetbrains.com/idea/download
class
- Collection of data members and member functions
- Data member
int a , double d, char c ,String str;
- Member function
- void functionName()
{
// body
}
Inside the member function of the class the data members or member
function can be accessed directly with no need to create an object.
Object is the instance of a class
Each object when created , it allocates a separate memory to each
members
Constructor :
When you write a constructor with no body inside it , it does the same
effect as that of the default constructor ,and it is called as empty
constructor
Access Modifiers :
Public
Private
Default
Protected - inheritance
Default : when you don't specify the access modifier then it is a default
access modifiers
int rno;
String name;
String division;
display()
upload task to the link
link : --> https://forms.gle/vcyYv5RPTd23Vf3y5
Submit before 4 PM
Day 3 :
1. Create a project
2. Create a folder name it as lib
3. Download the selenium libraries selenium.dev
4. Add them into the lib folder
5. Download webdrivermanager jars and add it into lib
https://jar-download.com/artifact-search/webdrivermanager
6. Set the lib folder as library
Get vs navigate
https://www.youtube.com/watch?v=TVJPt3EGrXQ
xpath
https://www.youtube.com/watch?v=jk9PvIf3z8A
User ID : mngr331891
Password : dYsAtyp
Submit before 4 PM
[email protected]
Day 4 :
CSS selector
https://www.youtube.com/watch?v=f9oHY2RxRzs
Report generation
https://www.youtube.com/watch?v=O0m3GZHzeAU
Junit : article
https://scriptinglogic.com/selenium/junit/
Apply assertion to below test method,
@Test // task
public void myTest3()
{
WebDriverManager.chromedriver().setup();
WebDriver driver = new ChromeDriver();
driver.manage().window().maximize();
driver.get("http://stock.scriptinglogic.net/");
Submit before 4 PM
[email protected]