Ask a Question

Not able to see values in Watch list

Occasional Contributor

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.


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.

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

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.

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

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: