HaNdLoRdz Posted July 20, 2014 Share Posted July 20, 2014 hi, i want to changing tab (with same title name in mozzila), but my code not smoothly running. sometimes it work, but sometimes it will stuck n will not change the tab. between tab 1 n tab 2 have a same Wintitle name. can anyone help me?? func pindah() sleep(100) MouseMove(150,200,10) sleep(500) mouseclick("left",150,200,1) sleep(500) ;WinActivate("Mozilla") ; sleep(100) Send("{CTRLDOWN}") sleep(100) send("{TAB}") sleep (100) Send("{CTRLUP}") sleep(100) endfunc thx alot Link to comment Share on other sites More sharing options...
Danp2 Posted July 20, 2014 Share Posted July 20, 2014 This is FireFox? If so, there a UDF in the examples forum that should help you. 232showtime 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
HaNdLoRdz Posted July 20, 2014 Author Share Posted July 20, 2014 @Danp2 i just give example in Mozzila, but it a same way right with IE,etc? Link to comment Share on other sites More sharing options...
Danp2 Posted July 20, 2014 Share Posted July 20, 2014 No. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
junkew Posted July 20, 2014 Share Posted July 20, 2014 In the examples section iuiautomation its similar for all browsers 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...
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