Manu191357 Posted April 24, 2019 Share Posted April 24, 2019 Hello, in my razor view I have below html <li class="btn-go-to-template-builder"> Template builder </li> and corresponding script function $(".btn-go-to-template-builder").click(function () { window.location.href = actions.templateBuilder.emailTextTemplates; }); that navigates to another view in my asp.net web application (the above described razor view works properly). I have tried to find the li tag with below autoit script, ;btn-go-to-template-builder $tags = _IETagNameGetCollection($oIE,"li") For $tag in $tags $class_value = $tag.className If $class_value = "btn-go-to-template-builder" Then _IEAction ($tag,"click") EndIf Next but nothing happens. Please help. Regards, Manu Link to comment Share on other sites More sharing options...
Danp2 Posted April 24, 2019 Share Posted April 24, 2019 Add some logging so that you can determine if the element is being found / clicked. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Nine Posted April 24, 2019 Share Posted April 24, 2019 Check for frame/iframe that would include that button... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy 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