-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Labels
Description
Bug Report
Issues should only be created for items related to covered functionality.
Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.
EasyRepro Version
- Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
- Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
- Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
- Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online
UCI or Classic Web
- UCI (XrmApp)
- Classic Web (XrmBrowser)
Online or On Premise
- Online
- On Premise
Browser
- Chrome
- Firefox
- IE
- Edge
Describe the bug
Not able to change the status of the Lead
Special formatting / display
Code to reproduce
xrmApp.OnlineLogin.Login(_xrmUri, _username, _password);
xrmApp.Navigation.OpenApp(UCIAppName.Sales);
xrmApp.Navigation.OpenSubArea("Sales", "Leads");
xrmApp.CommandBar.ClickCommand("New");
xrmApp.ThinkTime(5000);
xrmApp.Entity.SetValue("subject", TestSettings.GetRandomString(5, 15));
xrmApp.Entity.SetValue("firstname", TestSettings.GetRandomString(5, 10));
xrmApp.Entity.SetValue("lastname", TestSettings.GetRandomString(5, 10));
xrmApp.Entity.Save();
xrmApp.Entity.SetHeaderValue(new** OptionSet { Name = "statuscode", Value = "Contacted" });
xrmApp.Entity.Save();
Expected behavior
Status should be able to changed to "Contacted"
Additional context
Updated the following code and it is working as expected.
Old Code:
{ "Entity_Header_OptionSetFieldContainer", "//div[@data-id='header_[NAME].fieldControl-option-set-container']" },
Update Code:
{ "Entity_Header_OptionSetFieldContainer", "//*[contains(@id, '[NAME]-FieldSectionItemContainer')]" },
Reactions are currently unavailable
