0

testing Online Quiz - 8

Description: testing Online Quiz - 8
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

What is the output of the following code snippet @echo off cmd /?>d:\test.bat call d:\test.bat

  1. Executes all batch files present in the current directory

  2. Syntax error

  3. Displays an error on the console

  4. None of the above


Correct Option: C

Which of the following is true about batch scripts

  1. Can be run as part of startup

  2. Automate UI actions on a ASP.NET website

  3. Edit registry

  4. Can be run as part of startup & Edit registry


Correct Option: D

Both .BAT and .CMD are valid extensions for batch scripts

  1. True

  2. False


Correct Option: B

What is the output of the following code snippet @echo off for /l %%X in (C:*) do echo %%X

  1. Displays the names of the directories present in C Drive

  2. Infinite loop

  3. Syntax Error

  4. None of the above


Correct Option: B

Low level recording captures the user actions as tracks. State true or false

  1. True

  2. False


Correct Option: A

Object spy is used to retrieve test object properties and values. State true or false

  1. True

  2. False


Correct Option: B

How can we associate a Shared object repository to a test?

  1. File>Settings>Associate Resources

  2. Resources>Associate repositories

  3. Automation>Associate repositories

  4. Tools>Associate repositories


Correct Option: B

While associating a shared repository, is it mandatory to associate atleast one action? State true or false

  1. True

  2. False


Correct Option: A

Local repository objects can be edited/updated using

  1. Object Repository Manger

  2. Object Map

  3. Object Repository Window

  4. Cannot be edited/updated at all


Correct Option: B

Object Identification can be used to retrieve runtime values of object properties. State true or false

  1. True

  2. False


Correct Option: B

For constructing a step, which of the following can be used?

  1. Function Generator

  2. Step Factory

  3. Function Factory

  4. None


Correct Option: B

To retrieve the number of rows in datatable, which of the following methods can be used?

  1. GetCount

  2. Count

  3. RowCount

  4. GetRowCount


Correct Option: D

What is the default setting for datatable iterations under Test Settings>Run

  1. Run one iteration only

  2. Run on all rows

  3. Run between rows

  4. None


Correct Option: B

What is the default object synchronization time out?

  1. 10 seconds

  2. 60 seconds

  3. 20 seconds

  4. 30 seconds


Correct Option: C

To retrieve a value from datatable, what are required?

  1. column/parameter name

  2. sheet name

  3. Setting the desired row as current row

  4. All the above


Correct Option: D

Where can we make an action reusable?

  1. Action Properties

  2. Call Properties

  3. Properties

  4. None


Correct Option: A

What is the default browser navigation time out?

  1. 10 seconds

  2. 60 seconds

  3. 20 seconds

  4. 30 seconds


Correct Option: B

Sync method can be used for Windows applications. State true or false

  1. True

  2. False


Correct Option: B

Waitproperty method takes the following parameters, in the following order

  1. value, time out

  2. property name, value, time out in milliseconds

  3. property name, value, time out in seconds

  4. property, time out


Correct Option: B

Which statement below is true about Wait method?

  1. Wait – makes a wait for the specified seconds with optional milliseconds

  2. Wait – makes a wait for the specified seconds only

  3. Wait – makes a wait for the specified seconds with mandatory milliseconds

  4. None of the statements are true


Correct Option: A
- Hide questions