NexGen Tech News

In nexgentechnews.blogspot.com site you can get Next Generation Technology related News

Monday 5 November 2018

Selenium L1 Trend Next MCQ part 2

 Selenium L1  MCQ- 11 to 20



We can set multiple breakpoints in Selenium IDE.Justify
Yes
No

The following elemements in your CLASSPATH to run your Junit tests?

The JUnit JAR file.
Location of your JUnit test classes.
Location of testsuites to be tested.
JAR files of class libraries that are required by classes to be tested.

The following is not the Junit annotation?

The @DataProvider
the @Test
The @AfterClass
the @BeforeClass

How does Jnuit parameterize a class?

Using The @AfterClass Annotation
Using the @Data Annotation
Using the @RunWith Annotation
Using the @Parameterize annotation

How do you run the Junit tests from the command line?

java org.junit.runner.<test class name>
Run Junit <test name>
java JUnitCore <test class name>
java org.junit.runner.JUnitCore <test class name>

The syntax to compile a Junit Test Class is?

javac -cp junit-4.4.jar HelloTest.java
javac  junit-4.4.jar HelloTest.java
javac -cp junit-4.4 HelloTest.
java javac -np junit-4.4.jar HelloTest.java

What is the Selenium IDE plug in to run the Selenium Test Suite?

Flex Pilot
Whit Code Plexer
Test Runner
Test Suite Runner

storeFooPresent(variable) does

stores the text of the pop-up in a variable and returns true or false
Stores the text of pop-up into some default variable
stores the text of the pop-up in a variable
Both a and b

Does selenium IDE support looping?

TRUE
FALSE

Selenium will show some security notifications when handling

Proxy Settings
HTTP Sites
Both a and b

None of the above

No comments:

Post a Comment