1.Assert.IsNull("", this.UIPcProxConfigpcProxanWindow.UIItemWindow.UIDisconnectButton.GetToolTipText());
or
2.Assert.IsEqual("", this.UIPcProxConfigpcProxanWindow.UIItemWindow.UIDisconnectButton.GetToolTipText());
I use these assertions to assert tooltip when it is disable,but its not working.
please help