QTP Questions 33 - Relative & Absolute Path

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

A) True
B) False

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

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

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

A) True
B) False

4)
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

5)
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

6)
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

7)
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

8)
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

9)
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

10)
.................. 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

Answers