mhk Posted May 18, 2014 Share Posted May 18, 2014 hi in ie browser when i click submit button it open new tab auto how i can get some id in that new tab and send some action for new id thanks Link to comment Share on other sites More sharing options...
Danp2 Posted May 18, 2014 Share Posted May 18, 2014 Maybe this will help? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
mhk Posted May 18, 2014 Author Share Posted May 18, 2014 thanks but not work i need code to find new tab auto and set name .for example: $oIE3 and then i get my element from it.? Link to comment Share on other sites More sharing options...
Danp2 Posted May 18, 2014 Share Posted May 18, 2014 Does the new tab automatically become the active tab? If so, then you would use the code from the earlier link like this: $oIE3 = _IEGetActiveTab() If this doesn't work for you, then you will need to provide a more detailed explanation of the situation you are attempting to address. All you've told us thus far is that a new tab is launched when you click the submit button, which isn't alot of info to go on. mhk 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
mhk Posted May 18, 2014 Author Share Posted May 18, 2014 (edited) it's error: Warning from function _IEAttach, $_IEStatus_NoMatch when click button it open new tab and auto navigate it when i complete form in new tab i must click confirm button and then main tab set ok and allow me to complete another form Edited May 18, 2014 by mhk Link to comment Share on other sites More sharing options...
Danp2 Posted May 18, 2014 Share Posted May 18, 2014 If this doesn't work for you, then you will need to provide a more detailed explanation of the situation you are attempting to address. All you've told us thus far is that a new tab is launched when you click the submit button, which isn't alot of info to go on. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Solution mhk Posted May 18, 2014 Author Solution Share Posted May 18, 2014 i solved $oIE3 =_IEAttach("view","url") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now