I have selected the drop-down now i want to verify the selected drop down is correct using Assert
I have noticed that the selected item has attribute "selected"
var ftpTransDropdown = Driver.FindElement(By.Id("FtpTransmittalMethods")); var selectFtpTransDrpdwn = new SelectElement(ftpTransDropdown); selectFtpTransDrpdwn.SelectByText("NIHMS-PubMed Central Deposit (manuscript-dtd)");
Assert.AreEqual("NIHMS-PubMed Central Deposit (manuscript-dtd)", "
I have attached HTML screenshot