hi every one!
My Application is working fine but out of 5 one fails . The problem is i can not get controll on the new window.May be if the connection of internet is fast it works fine ? Or May be URL proble?
Here is the problem.
I have to click on a login button(login page) .new window pops up(welcome page). now i need to activate this wellcome page
get the url(welcome page) of this age and compare it with "*welcome.aspx"
What is the best method to get controll on new window.
i tryed following
functionfile.sync 'After click on login page let the new welcome page to syncroniz(let is load completly)
IEWindow(" Index=1 ").Maximize
lhwnd = HTMLBrowser.hWnd
myurl = HTMLBrowser("hWnd= " & lhwnd).URL
myurl is getting url of Login page "first page"
But i want myurl to get welcome page URL "New page"
Please need Help
My Application is in C#