quanuh
10 years agoOccasional Contributor
How to get current page if there are more than one page object in the web browser process?
I am using TC 10 to test web on IE 11. I have used WaitPage(*,30000) method to get the current page from the main process Browser("iexplore"). I got an issue when there are more than one page objects are visible in the main process.
Actually, I want to get the Admin page instead of about:blank or Admin/login. Some time Waitpage return the wrong page, so TC threw object not found when i tried to find an object from Admin page. I know that disable LCIE for Internet Explorer 11 can resolve this issue. But, There is any other way to get the current page in this case if I do not disable LCIE?