Regarding ZohoPom Project | Selenium Forum
M
Mahathi Posted on 11/05/2022

we have  method

public ZohoPage gotoEnterUsernamePage() {

// TODO Auto-generated method stub

log("Going to username page");

loginlink.click();

return new EnterUsernamePage();

}

loginlink.click()-is it same as driver.findelement(byxpath()).click();

after clicking on loginlink.click() does the driver value changes?If the driver value changes how it is upated in the below code.

public ZohoBasePage()

{

System.out.println("Zoho base page con");

PageFactory.initElements(getCurrentDriver(),this);

getSession().setCurrentPage(this);

}

i tried to debug but still it was confusing to me,can you please clarify my doubt?


M
Mahathi Replied on 07/08/2022

can someone clarify my doubt?


D
deepak Replied on 14/08/2022

Its in which language ?