• HP QTP/UFT Certification Quiz: Online Test

    Instructions For Quiz

    • This Mock Test has 58 Questions
    • Each Question is of 1 marks so total 58 marks
    • Multiple Choice Questions with only ONE valid answer
  • 15) Consider following piece of code

    on error resume next
    val=DataTable("ParamName",dtGlobalSheet)
    if err.number 1 then
    'Parameter does not exist
    else
    'Parameter exists
    end if

    Code highlighted above is not logically correct. Select the correct code from the options
    Provided

  • 21) Consider following line of code :-

    StartURL = "http://www.yahoo.com"
    Set IE = CreateObject("InternetExplorer ")
    IE.Visible = True
    IE.Navigate StartURL
    Set IE = Nothing

    The highlighted line of code is not syntactically correct. Select the correct line of code

  • Should be Empty: