[BUG] Add note to timeline throws error "Object reference not set to an instance of an object
Gshingavi0712 opened this issue · 0 comments
Bug Report
When using the statement "When I add a note to the timeline with the title '[string]' and the body '[string]', the app appears having a cursor clicked on the note Title box, but then errors out without inputting any note title and note body.
EasyRepro Version
- Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online
UCI or Classic Web
- UCI (XrmApp)
Online or On Premise
- Online
Browser
- Chrome
- Firefox
- IE
- Edge
Describe the bug
When using the statement "When I add a note to the timeline with the title '[string]' and the body '[string]', the app appears having a cursor clicked on the note Title box, but then errors out without inputting any note title and note body.
Special formatting / display
None
Code to reproduce
_client.OpenAndClickPopoutMenu(Reference.Timeline.Popout, Reference.Timeline.PopoutNote, 4000);
_client.SetValue(Reference.Timeline.NoteTitle, title, "input");
_client.SetValue(Reference.Timeline.NoteText, note, "textarea");
_client.ClickButton(Elements.Xpath[Reference.Timeline.NoteAdd]);
xrmApp.Timeline.AddNote();
-->
Expected behavior
The note title and note body should show up and correctly as used in the statement