Forum Discussion
AlexKaras
2 years agoChampion 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