How to consecutively call asynchronous functions in Javascript

  Kiến thức lập trình

everyone, in my school, i have a project that i code javascript to automated test a page
i use webdriver to text
but i have a error : TypeError: loginPageInstance.inputUsername(…).inputPassword is not a function
at Context. (D:PVD_HOCTAPBack EndJavascriptAutomated_Testing_demotestpageObject2testScript/testLogin.js:18:67)
I still don’t know how to fix it. I hope everyone will help me. Sorry for my poor English, I hope everyone will forgive meenter image description hereenter image description here

I want my testcase must be setValue username and password before click

New contributor

duyhococode is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT