Forum Discussion

Komal_Deotale's avatar
Komal_Deotale
Occasional Contributor
6 years ago

Not able to see values in Watch list

While executing the scripts, i am not able to see the runtime values of the objects and variables that are added in the watch list. Please can somebody help me in this regard. I have attached a screenshot also.

Thanks

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Watch list is "scoped".  If those variables, values, etc., are "out of scope" for where you have your breakpoint, you won't be able to view them.

    • Komal_Deotale's avatar
      Komal_Deotale
      Occasional Contributor

      I am viewing those variables that are in scope. I have applied the breakpoint on step right after the variable is being assigned a value. Moreover if out of scope variables are in watchlist then the test complete gives the value as undefined or process not accessible and not blank as I am getting in my case.

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        Try sending the variable value to the Log and see what you get there.