Not able to eneter login credential in login pop up page

We are trying SignIn scenario for our application. Below is the webPageTest script for the same. When we click on SignIn, one pop up window appears and we have to enter credential there. But when we run the test it does not enter any details on pop up page. Please suggest how to handle this issue.

logData 1
setEventName HomePage

logData 1
setEventname SignInPopUp
clickAndWait data-trk=sign in

logData 1
setEventName loginIn
setValue id=email XXXXX
setValue id=password XXXXX
clickAndWait id=loginCheckoutcont