Open chandramohand opened 2 years ago
I think it is an option set instead of lookup xrmApp.Entity.SetValue(new OptionSet() { Name = "optionname", Value = "Open or other value" });
Hi @leungs107, I tried this too where it throws Null pointer exception.
System.ArgumentNullException : input cannot be null Parameter name: input
Have you tried Selenium code?
using OpenQA.Selenium.Support.UI;
new SelectElement(client.Browser.Driver.FindElement(By.Id("IdName"))).SelectByText("ValuesListText");
Yeah, today only I tried with Selenium code and worked. Thanks.
Question
Hi, I am unable to use lookup on a drop-down, could you please help which method I can use to select the value in the list.
Thanks, Chandra.