Sunday, April 26, 2009

QTP Multiple Choice Questions - Set 33 - Relative & Absolute Path

In Edit > Action > Action Properties, in Associated Repositories tab, you cannot enter an associated object repository as a relative path.

A) True
B) False

..............method helps you resolve the specified relative file path and returns its absolute path.

A) Local
B) Lrelative
C) Locate
D) Lresolve

In the FIle ->Settings, Resource tab, you can enter an associated function library as a relative path.

A) True
B) False

ExecuteFile Statement which executes the VBScript statements in the specified file can accept ............ of the file to execute.

A) Absolute
B) Relative
C) Both A & B
D) None

When working with tests, if your recovery files are stored in the file system and you want other users or Mercury products to be able to run this test on other computers, you should set the recovery file path as a ......... path.

A) Absolute
B) Relative
C) Both A & B
D) None

When you choose Insert-> Call to Existing Action, in the Select Action dialog that opens, you cannot enter the relative path in "From test" dropdown.

A) True
B) False

If you expect other users to open your tests and all actions in your tests are stored in the same drive, you should use absolute paths for your reusable actions so that other users will be able to open your tests even if they have mapped their network drives differently

A) True
B) False

A relative path is a path that is indicated relatively to a ......... location in the file system tree.

A) previous
B) root
C) current
D) base

You can use a .......statement in your test to retrieve the complete path that QuickTest will use for a specified relative path based on the folders specified in the Folders tab.

A) PathFinder.Locale
B) PathFinder.Locate
C) Locale.PathFinder
D) Locate.PathFinder

.................. Property Assigns a relative path to a shortcut, or identifies the relative path of a shortcut.

A) RelativePath
B) Relative_Path
C) Relative-Path
D) RelativePaths

1) B, 2) C, 3) A, 4) C, 5) B, 6) B, 7)B, 8) C, 9)B, 10) A