Multiple choice technology testing

If Index:=1 is used with WebEdit Test Object in the descriptive programming, QTP will search for the …….. WebEdit Object in a Web Page

  1. Third

  2. First

  3. Second

  4. Last

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In QTP's descriptive programming, Index is 0-based, so Index:=1 refers to the second occurrence of a WebEdit object on the page. Index:=0 would be the first WebEdit. This indexing allows selecting specific instances when multiple objects with similar descriptions exist on the same page.