Eminence Posted May 21, 2018 Share Posted May 21, 2018 Hello, So basically, I'm on a page on a site where frameset is composed of .js and .swf. I was able to simulate a tab using the Send("{TAB}") function however, using Send("{ENTER}") function does not work and as an alternative I'm about to try and use a mouse click function though there's nothing on the page that I can use as it is a Flash based site. Any of you got an issue same as this one? Here's my code at the moment: #include <IE.au3> Local $oIE = _IECreate("basic") Local $oFrames = _IEFrameGetCollection($oIE, 0) _IEImgClick($oFrames, "directlinktoimage") WinActivate($oIE) Sleep(5500) Send("{TAB 16}") ; => Hit tab 16 times to get to the element to be clicked Send("{ENTER}") ; => Not workinig The url to site is not available as it is only internal. Link to comment Share on other sites More sharing options...
junkew Posted May 21, 2018 Share Posted May 21, 2018 see faq 31. If IE.au3 cannot help you most likely have to fallback to iuiautomation and try what simplespy is giving you. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Eminence Posted May 21, 2018 Author Share Posted May 21, 2018 2 hours ago, junkew said: see faq 31. If IE.au3 cannot help you most likely have to fallback to iuiautomation and try what simplespy is giving you. Will look into it. Thanks! 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