When we switch from Expert view to the Keyword view, QTP automatically checks for syntax errors in the test and shows them in the information pane.

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, we need to understand the differences between Expert view and Keyword view in QTP (QuickTest Professional).

In Expert view, test scripts are written in a scripting language (such as VBScript) and are displayed as a series of statements. This view is suitable for experienced users who prefer to write code manually.

On the other hand, in Keyword view, test steps are created using a keyword-driven approach. Test steps are represented as a series of keywords and associated arguments. This view is suitable for users who prefer a more visual and intuitive approach to test creation.

Now, coming back to the question, the statement "When we switch from Expert view to the Keyword view, QTP automatically checks for syntax errors in the test and shows them in the information pane" is true.

When you switch from Expert view to Keyword view, QTP automatically checks the syntax of the existing test script code in Expert view. If there are any syntax errors, they will be displayed in the information pane. This is helpful in identifying and correcting any errors before executing the test.

Therefore, the correct answer is A) True. QTP does automatically check for syntax errors when switching from Expert view to Keyword view.

Find more quizzes: