title: Condition is true but it's ignoring the statement Selenium C#
body: <p>The <strong>if condition</strong> is <strong>true</strong>, but it is ignoring the if condition and proceeds to the next methods under this file.</p>
  
  <p>Assume that value attribute of Name element is already <strong>NULL</strong></p>
  
  <pre><code>string GetValue = Name.GetAttribute("value");
  // assume that value attribute of Name element is already NULL
  
  if (String.IsNullOrEmpty(GetValue))
  {
  Assert.AreEqual(ElementLabel.GetCssValue("color"), InputColor);
  }
  else
  {
  &lt;code&gt;
  }
  </code></pre>