package merchantapp_uipages;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.interactions.Actions;

import merchantapp_locator.MerchantLoginLocator;

public class MerchantLogin extends MerchantLoginLocator{

public MerchantLogin() throws Exception {
		super();
		// TODO Auto-generated constructor stub
	}

public void prodLogin() throws InterruptedException {
	for (int i = 0; i <= 3; i++) {
		 startButton().click();
	}
	
	phoneNumber().sendKeys("7208239249");
	getOtp().click();
    Thread.sleep(2000);
    otpPass().sendKeys(dbotp);
    Thread.sleep(5000);
    loginApp().click();
    System.out.println("Login Successfully");
    Thread.sleep(5000);
    fakeClick().click();
    Thread.sleep(1000);
    addApplicationbutton().click();
}
}
