Witz Innovation Lab Interview Questions 2023 | Java Selenium Real Time Interview Questions
Know someone who'd love this clip?
Share it with friends and fellow fans.
Know someone who'd love this clip?
Share it with friends and fellow fans.
Witz Innovation Lab Interview Questions 2023 | Java Selenium Real Time Interview Questions Chapters: 0:00 - Introduction to the video 0:25 - Tell Me about yourself & Relevant experience in Selenium? 1:33 - What is Selenium? 2:22 - How to perform right click in Selenium? 3:34 - What are components of selenium? 4:04 - What are different waits in Selenium? 8:07 - How to handle frames? 8:46 - How to perform drag and drop in selenium? 10:32 - How to scroll to an element in Selenium? 11:41 - Final keyword in java? 13:55 - What is overloading? And Overridding? 14:36 - how to automate windows with web in selenium? 15:26 - Any Questions for me? 1. Tell Me about yourself? a. Start by your name b. State your projects, tools you have worked on c. More about the latest project which you are working on d. Your roles and responsibilities 2. Relevant experience in Selenium? a. 2 years 3. What is Selenium? Selenium is an open source testing tool which automates web browser actions. It provides tools that can interact with browser and can automate browser actions like click, input, select, navigate etc with the help of scripts. 4. How to perform right click in Selenium? Actions actions = new Actions(driver); WebElement Locator = driver.findElement(By.id("ID")); actions.contextClick(Locator).perform(); 5. What are components of selenium? Selenium IDE. Selenium RC. Selenium WebDriver. Selenium Grid. 6. What are different waits in Selenium? a Implicit Wait:The Implicit Wait in Selenium is used to tell the web driver to wait for a certain amount of time before it throws a “No Such Element Exception”. driver = new ChromeDriver(); driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS) ; b. Explicit Wait:The Explicit Wait in Selenium is used to tell the Web Driver to wait for certain conditions (Expected Conditions) or maximum time exceeded before throwing “ElementNotVisibleException” exception. WebDriverWait wait = new WebDriverWait(driver,30); wait.until(ExpectedConditions .visibilityOfElementLocated(By.xpath("//div[contains(text(),'Azhar')]"))); C.Fluent Wait:Fluent Wait in Selenium marks the maximum amount of time for Selenium WebDriver to wait for a certain condition (web element) becomes visible. Wait wait = new FluentWait(WebDriver driver) .withTimeout(10, TimeUnit.SECONDS) .pollingEvery(10,TimeUnit.SECONDS) .ignoring(Exception.class); 7. How to handle frames? driver.switchTo().frame(0) driver.switchTo().frame("iframe") 8. How to perform drag and drop in selenium? a.WebElement srcEle = driver.findElement(By.xpath(//input[@id='src'])); WebElement destEle = driver.findElement(By.xpath(//input[@id='dest'])); Actions actions = new Actions(driver); Action dd = actions.clickAndHold(srcEle) .moveToElement(destEle) .release(destEle) .build(); dd.perform(); 9. How to scroll to an element in Selenium? WebElement l=driver.findElement(By.xpath("//id[text()='Azhar']")); ((JavascriptExecutor)driver) .executeScript("arguments[0].scrollIntoView(true);", l); 10.Final keyword in java? final Variable: final int i = 10; i = 30;// Error will be generated above final method: class Bike{ final void run(){System.out.println("running");} } class Honda extends Bike{ void run(){System.out.println("running safely with 100kmph");} public static void main(String args[]){ Honda honda= new Honda(); honda.run(); } } //Output:Compile Time Error final class: final class Bike{} class Honda1 extends Bike{ void run(){System.out.println("running safely with 100kmph");} public static void main(String args[]){ Honda1 honda= new Honda1(); honda.run(); } //Output:Compile Time Error } 11.What is overloading? And Overridding? class OverloadingExample{ static int add(int a,int b){return a+b;} static int add(int a,int b,int c){return a+b+c;} } Overridding: class Animal{ void eat(){System.out.println("eating...");} } class Dog extends Animal{ void eat(){System.out.println("eating bread...");} } 12.how to automate windows with web in selenium? sikuli,poweshell,autoit etc 13.Any Questions for me? a. Enquire about the company - before interview b. Ask them projects Playlists ► 1. Java & Selenium: https://www.youtube.com/playlist?list=PLO2l2fYgN806mr2M9Km0KNQz_wv_tZTwD ► 2. Real Time Interview Q & A: https://www.youtube.com/playlist?list=PLO2l2fYgN805uI-sDXvo0jV6qvXWHi6x8 #interviewquestions #selenium #java
Born 21 March 1967, Peterborough, Cambridgeshire, England, the youngest of seven children, and he attended Jack Hunt School, also in Peterborough. He enjoyed writing poetry and verse and began MC-ing around the age of 14. He gained inspiration from his ten year older MC brother, Hitman, who introduced him into the Peterborough Reggae Soundsystem Scene. At the age of seventeen he had his first gig in Basingstoke. Ian Sherman, a fellow musician from Nottingham teamed up with Maxim and they formed ...
More about Maxim→Added
9:00David Frizzell
1:00Sheila on 7
8:15
10:34Jason Ross
25:33R.E.M., Maxim, Sting
0:40Eminem, Frank Sinatra, Frida, NME, The Who, Maxim, Y&T
4:49Maxim
59:01Maxim, Cher, Sting