vrsrinivas2000 Posted May 4, 2017 Share Posted May 4, 2017 Hi, Initially I wrote a program in auto it ,but i'm unable to understand how to find the control id to fill the syntax could you please help me..? #include <IE.au3> Local $oIE = _IECreate (" https://www.usps.com/manage/welcome.htm" ) WinActivate("Track & Manage | USPS - Internet Explorer") Sleep(500) send("^f") sleep(2000) send("quick tools") sleep(1000) MouseClick("Left") sleep(500) in this im finding quick tools with the above program but unable to click on it to open the look up for zipcode screen . Link to comment Share on other sites More sharing options...
Danp2 Posted May 4, 2017 Share Posted May 4, 2017 You'll want to drop the usage of Send and MouseClick, and just stick to the _IE functions. There of lots of examples on the forum. Here's one thread you can review. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 4, 2017 Moderators Share Posted May 4, 2017 Moved to the correct forum, as the Examples forum very clearly states: Quote Do not post general support questions here, instead use the AutoIt Help and Support forums. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
sammy1983 Posted May 4, 2017 Share Posted May 4, 2017 (edited) 3 hours ago, vrsrinivas2000 said: Hi, Initially I wrote a program in auto it ,but i'm unable to understand how to find the control id to fill the syntax could you please help me..? #include <IE.au3> Local $oIE = _IECreate (" https://www.usps.com/manage/welcome.htm" ) WinActivate("Track & Manage | USPS - Internet Explorer") Sleep(500) send("^f") sleep(2000) send("quick tools") sleep(1000) MouseClick("Left") sleep(500) in this im finding quick tools with the above program but unable to click on it to open the look up for zipcode screen . Go to the link directly instead clicking on it. #include <IE.au3> Local $oIE = _IECreate (" https://www.usps.com/manage/welcome.htm" ) _IELoadWait($oIE) _IENavigate($oIE, " https://tools.usps.com/go/ZipLookupAction_input") Edited May 4, 2017 by sammy1983 Link to comment Share on other sites More sharing options...
vrsrinivas2000 Posted May 4, 2017 Author Share Posted May 4, 2017 Thank You sammy1983, I am giving only an example for you. I need to find the text and click on it. My actual required site is not changing the url after clicking link. Link to comment Share on other sites More sharing options...
sammy1983 Posted May 4, 2017 Share Posted May 4, 2017 19 minutes ago, vrsrinivas2000 said: Thank You sammy1983, I am giving only an example for you. I need to find the text and click on it. My actual required site is not changing the url after clicking link. try this #include <IE.au3> Local $oIE = _IECreate (" https://www.usps.com/manage/welcome.htm" ) _IELoadWait($oIE) __IENavigate($oIE, "https://tools.usps.com/go/ZipLookupAction_input", 0, 0x800) Please note 2 underscores before IENavigate. This will keep your base webpage and open the zip code webpage in another tab. Hope this helps. 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