I wrote a simple test for login
namespace Seleniumtest.Customer
{
[TestFixture]
class LoginTest :TestBase
{
[Test]
public void LoginWithPhoneNumber()
{
webDriver.Navigate().GoToUrl("https://test123.ifc.ir/login");
webDriver.FindElement(By.Id("EmailOrPhoneNumber")).SendKeys("09108599423");
webDriver.FindElement(By.ClassName("buttons")).Click();
var input = webDriver.FindElement(By.Id("Password"));
Assert.That(input.Displayed, Is.True);
}
}
}
This program will click login and have login and find partial view input password but its just instert the value in username and click the submit but never find password.