[AutoQA] #389: add function to get window position into LDTP