there seems to be problem with dologin(username, pwd); function.
watch the video again and see if you made them correctly.
Modified the doLogin Function in BaseTest.. Still the same result. Please find the screenshot attached
I have tried that before and the value is not null. Its printing the username and password provided in the xls.
problem with project is [color=#FF0000:2tsovuka]type()[/color:2tsovuka] function. it does not work.
I used this method and it worked
driver.findElement(By.xpath(prop.getProperty("loginId_xpath"))).sendKeys(username);
Thank you for the solution. Its working now.
Just need one more clarification on it. Could there be such situation when the called function is actually not
called(as in the above scenario). what could be the reason for it.
[quote:8ne4aemy]Could there be such situation when the called function is actually not
called(as in the above scenario). what could be the reason for it.
[/quote:8ne4aemy]
function type is being called but the problem is with the function type itself. it does not work. remake that function and then call.