Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBS Internet Explorer

Status
Not open for further replies.

scones25

MIS
Jan 30, 2009
4
US
I have created a script to perform various tasks within a website we use. Everything is working; however, there is a popup window that occurs when I click a button that confirms the action that I am performing. Now I have been using appactivate and then a sendkey as an interim fix which I want to get away from. I tried to get the elementbyid however it cannot find it as my object is still looking at the main window and not the popup. Does anyone have an idea how I can set focus to the new window get the button name by id, so a button.click, and then focus back on to the original window. Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top