Forum Discussion
- rraghvaniChampion Level 3
Does the 'Name' property exist? What is the property value of 'Name'? Are you checking the null values? What actions are you performing to get this error?
- KB1Champion Level 2
I experienced a comparable situation yesterday as well. It is possible that there is an issue with your execution plan. I would recommend carefully reviewing the parameters you have provided.
- AlexKarasChampion Level 3
Hi,
> Cannot read property 'Name' of null
This means that the object that is expected to provide Name property was not found/does not exist.
Sample pseudocode:
var obj = page.FindChildByXPath("non-existing XPath"); // object does not exist and null is assigned to obj variable
Log.Message(obj.Name); // this will fail with the above error
Related Content
Recent Discussions
- 9 hours ago
- 7 days ago
- 10 days ago