Podcast
Questions and Answers
Which of the following best describes a broken link?
Which of the following best describes a broken link?
What HTTP status codes are associated with invalid requests?
What HTTP status codes are associated with invalid requests?
Why should you check for broken links on a website?
Why should you check for broken links on a website?
What is the main purpose of the 5xx class of status codes?
What is the main purpose of the 5xx class of status codes?
Signup and view all the answers
Why is manual checking of links a tedious task?
Why is manual checking of links a tedious task?
Signup and view all the answers
What is an alternative solution for automating the process of checking broken links?
What is an alternative solution for automating the process of checking broken links?
Signup and view all the answers
What is the purpose of Integration Testing in software testing?
What is the purpose of Integration Testing in software testing?
Signup and view all the answers
What is JVM?
What is JVM?
Signup and view all the answers
What is the purpose of the Text tool in Photoshop CC?
What is the purpose of the Text tool in Photoshop CC?
Signup and view all the answers
What is a NoSQL database?
What is a NoSQL database?
Signup and view all the answers
Which package needs to be imported in addition to the default packages to send HTTP requests and capture HTTP response codes?
Which package needs to be imported in addition to the default packages to send HTTP requests and capture HTTP response codes?
Signup and view all the answers
What is the purpose of the 'driver.findElements(By.tagName("a"))' method?
What is the purpose of the 'driver.findElements(By.tagName("a"))' method?
Signup and view all the answers
What is the purpose of the 'url = it.next().getAttribute("href")' statement?
What is the purpose of the 'url = it.next().getAttribute("href")' statement?
Signup and view all the answers
What is the purpose of the 'huc = (HttpURLConnection)(new URL(url).openConnection())' statement?
What is the purpose of the 'huc = (HttpURLConnection)(new URL(url).openConnection())' statement?
Signup and view all the answers
What is the purpose of the 'huc.setRequestMethod("HEAD")' statement?
What is the purpose of the 'huc.setRequestMethod("HEAD")' statement?
Signup and view all the answers
What is the purpose of the 'respCode = huc.getResponseCode()' statement?
What is the purpose of the 'respCode = huc.getResponseCode()' statement?
Signup and view all the answers
What is the purpose of the 'if(respCode >= 400)' statement?
What is the purpose of the 'if(respCode >= 400)' statement?
Signup and view all the answers
What is the purpose of the 'driver.quit()' statement?
What is the purpose of the 'driver.quit()' statement?
Signup and view all the answers
What is the purpose of the 'List links = driver.findElements(By.tagName("a"))' statement?
What is the purpose of the 'List links = driver.findElements(By.tagName("a"))' statement?
Signup and view all the answers
What is the purpose of the 'if(url == null || url.isEmpty())' statement?
What is the purpose of the 'if(url == null || url.isEmpty())' statement?
Signup and view all the answers
Which WebDriver method is used to find elements by their tag name?
Which WebDriver method is used to find elements by their tag name?
Signup and view all the answers
What is the purpose of the implicitlyWait
method in WebDriver?
What is the purpose of the implicitlyWait
method in WebDriver?
Signup and view all the answers
What is the purpose of the click
method in WebDriver?
What is the purpose of the click
method in WebDriver?
Signup and view all the answers
What is the purpose of the getTitle
method in WebDriver?
What is the purpose of the getTitle
method in WebDriver?
Signup and view all the answers
What is the purpose of the navigate().back()
method in WebDriver?
What is the purpose of the navigate().back()
method in WebDriver?
Signup and view all the answers
What is the purpose of the quit
method in WebDriver?
What is the purpose of the quit
method in WebDriver?
Signup and view all the answers
What is the purpose of the findElement(By.linkText(t))
method in WebDriver?
What is the purpose of the findElement(By.linkText(t))
method in WebDriver?
Signup and view all the answers
What is the purpose of the navigate().refresh()
method in WebDriver?
What is the purpose of the navigate().refresh()
method in WebDriver?
Signup and view all the answers
What is the purpose of the System.setProperty("webdriver.chrome.driver","G:\\chromedriver.exe")
line of code in the WebDriver script?
What is the purpose of the System.setProperty("webdriver.chrome.driver","G:\\chromedriver.exe")
line of code in the WebDriver script?
Signup and view all the answers
What is the purpose of the driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS)
line of code in the WebDriver script?
What is the purpose of the driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS)
line of code in the WebDriver script?
Signup and view all the answers