microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
513 stars 286 forks source link

[HOW-TO] fill option set with special character #1256

Open chrizz-msweb opened 2 years ago

chrizz-msweb commented 2 years ago

Question

XrmApp.Entity.SetValue(new OptionSet { Name = "myEquipment", Value = "Don't have" });

How to write string "Don't have" properly? It keep giving me error Object reference not set to an instance of an object.