Forum Discussion

Komal_Deotale's avatar
Occasional Contributor
7 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.


3 Replies

  • tristaanogre's avatar
    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
      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
        Champion Level 3

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