AlexVong Posted September 29, 2013 Share Posted September 29, 2013 Please help. To connect to IE in the script using the following code ... $zIE = _IEAttach ('Fleece') $oFrame = _IEFrameGetObjByName ($ zIE, "main") But this option works toko with the first tab, regardless of whether that active at the moment the second, third, etc. Osobino - all tabs the same name - the "Fleece" and the same address. How to make the script working out Owned by the currently active tab? Link to comment Share on other sites More sharing options...
Danp2 Posted September 29, 2013 Share Posted September 29, 2013 So, you have multiple tabs that match the "Fleece" title, correct? You may want to check out >this post, which should work as long as the titles have some variation between the tabs. AlexVong 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
AlexVong Posted September 29, 2013 Author Share Posted September 29, 2013 Danp2 thank youI can not understand how to use this function, you can please an example? Link to comment Share on other sites More sharing options...
Danp2 Posted September 29, 2013 Share Posted September 29, 2013 Like this, which assumes that the desired tab is already active: $oIE = _IEGetActiveTab() If @error = $_IEStatus_Success Then $oFrame = _IEFrameGetObjByName ($oIE, "main") Endif AlexVong 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
AlexVong Posted October 1, 2013 Author Share Posted October 1, 2013 Not running. returns 0 Link to comment Share on other sites More sharing options...
Danp2 Posted October 1, 2013 Share Posted October 1, 2013 You will need to provide more feedback if you want others to help you. Try running your script in SciTE and post the output window results here. Latest Webdriver UDF Release Webdriver Wiki FAQs 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