How to explain ExplicitWait in interview with Real Time Examples and Points | Selenium WebDriver

Published: 28 September 2020
on channel: total-qa
179
10

Synchronization,Thread.sleep(time in millis),ImplicitWait
==============================================
Video Link for Implicit Wait :    • How to explain implicitlyWait in inte...  

ExplicitWait:
=========
ExplicitWait is mainly useful to apply wait on a single element.
Synchronizing the state between the browser and its DOM, and your WebDriver script.
This means that for as long as the condition returns a falsy value, it will keep trying and waiting.
In order to achieve the ExplicitWait, we have to use a java class called WebDriverWait.

alert is present
element exists
element is visible
title contains
title is
visible text

File Upload Using Robot Class :
==========================
http://total-qa.com/file-upload-selen...

Scenario 1:
==========
Upload the TextFile and convert into PDF:C:\\SeleniumArtifacts\\ConvertTxttoPDF.txt
wait for visible Text

Scenario 2:
==========
Upload the TextFile and convert into PDF : C:\\SeleniumArtifacts\\ConvertTxttoPDF.txt
Initial Title of the page : Zamzar - video converter, audio converter, image converter, eBook converter
wait for title is : Zamzar - File conversion progress

Scenario 3:
==========
Upload the JarFile : C:\\SeleniumArtifacts\\SeleniumLatestVersion\\selenium-java-3.141.59\\client-combined-3.141.59.jar
wait for alert is Present

Scenario 4:
===========
Upload the TextFile and Convert into PDF: C:\\SeleniumArtifacts\\ConvertTxttoPDF.txt
wait for element is visible :Download

JAVA LOGIC for all the Scenario's is available in the blog:
http://total-qa.com/how-to-explicitwa...

Check out my blog as well http://total-qa.com
PlayList Details:
SOAPUI:
   • SOAPUI  
SELENIUM INTERVIEW QUESTIONS:
   • Selenium Interview Questions  
PAGE OBJECT MODEL PRINCIPLES:
   • PageObjectModel  
JENKINS:
   • JENKINS  
REST API TUTORIAL:
   • REST API TUTORIAL  
JAVA:
   • Java  
SELENIUM WEBDRIVER:
   • Selenium WebDriver  
XPATHTUTORIAL:
   • Xpath Tutorial  
CssSelector:
   • Css Tutorial  
GITHUB:
   • GITHUB