MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Selenium
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
What does DOM stand for?
Document Object Model
Document Object Matter
Database Object Model
Definitive Object Model
Q.2
What does Selenium do?
tests captcha
tests mobile apps
tests barcode
tests web apps
Q.3
Which of the below are NOT a correct way of location element?Hint :
By.partialtext
By.div
By.classname
By.linktext
Both A & B
Q.4
Which method to use to close a webpage?Hint :
quit()
close()
disconnect()
Both A & B
Q.5
Which of the following is a syntax for an x path to find an element?
tagname[@attribute=`value`]
atribute[@tagname=`value`]
input[tagname='value']
a[value='attribute']
Q.6
How do you maximize a web page?
driver.manage().window().maximize();
driver.manage().window().enlarge();
driver.manage().maximize();
driver.manage().enlarge
Q.7
Which is the incorrect statement for X-path?
Xpath can work with text, CSS cannot work
Xpath has more combination and can search by index CSS cannot search by index, but css is working faster than Xpath
with Xpath, we can search elements backward or forward... while css works only in forward direction •
with Xpath we cannot work with text, CSS we can
Q.8
Relative X-path starts with
single slash /
double slash //
Q.9
In test automation, framework is the blueprint of test automation.
True
False
Q.10
Thread.sleep() speeds up selenium
True
False
Q.11
It is a record and playback tool in Selenium.
Selenium Grid
Selenium Webdriver
Selenium RC
Selenium IDE
Q.12
Cannot be tested using Selenium...
Smoke
regression
stress
end2end
Q.13
Can be tested using Selenium...
performance
ad hoc
stress
functional testing
Q.14
Difference between quit() and close()?
quit() method quits the active window only, close() method closes the active window
quit() method quits the active window only, close() method closes all opened windows.
quit() method quits all opened windows, close() method closes the active window only.
quit() method closes all opened windows, close() method opens a browser session
Q.15
Which of the following is not an automation testing tool?
Selenium
QTP/UFT
Katalon
API
Q.16
Which is the correct order in software testing?
Acceptance, System, Unit, Integration
Acceptance, integration, Unit, System
Unit, System, Integration, Acceptance
Unit, Integration, System, Acceptance
Q.17
What type of tests can we automate with Selenium?
Security test
Regression test
Load test
Performance test
Q.18
What does the Selenium Tool suite comprise of?
WebDriver & Selenium RC
WebDriver& Selenium IDE
WebDriver & Selenium Grid
WebDriver, Selenium IDE & Selenium Grid
Q.19
Which of the following is an instance of the Webdriver Interface?
WebDriver
ChromeDriver
new ChromeDriver
new WebDriver
Q.20
Which of the following is not a language binding?
Java
C#
Python
HTML
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page