DoomSack

Which browser to work with AutoIt

22 posts in this topic

Hello Everyone ,
                           I am really confused right now about which browser to choose to work with AutoIt. I have been using IE but honestly, IE crashes more often and is not really as customized as any other browsers out there. So here are my questions.
1. which browser to choose ? (e.g: firefox, chrome, etc)

2.why?

That's it .

Would like to here everyone's detailed suggestions, so as to make a really good decision.

Thank you All.

Share this post


Link to post
Share on other sites



Just now, JohnOne said:

computer and use IE.

Details: all others are simply a right royal pain in the arse

Hehe .. There is nothing wrong with my computer. its just that when ever my script goes over more than 2 hours of usage of IE it crashes.

But, Thank you for your views on the topic, will keep in mind.

Share this post


Link to post
Share on other sites

What makes you sure that the same problem will not arise with FireFox or Chrome?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
1 minute ago, water said:

What makes you sure that the same problem will not arise with FireFox or Chrome?

Good question, I don't know and that is why I am asking the question here before trying it for myself and wasting my time learning everything. Mostly, someone or the other might have worked with it and they can show their generosity by sharing their views, so that I can take a decision.

Thank you

Share this post


Link to post
Share on other sites
40 minutes ago, DoomSack said:

its just that when ever my script goes over more than 2 hours of usage of IE it crashes.

I would first try to find the cause of the crash. "Running for 2 hours" sounds like you are running the script in a loop. There might be a memory leak causing the crash.
Which error message do you get when your script crashes?

Can you post your script so we might have a look at it?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

1 hour ago, water said:

I would first try to find the cause of the crash. "Running for 2 hours" sounds like you are running the script in a loop. There might be a memory leak causing the crash.
Which error message do you get when your script crashes?

Can you post your script so we might have a look at it?

Yes, I am running the script in a loop. Sorry I cant share the script. But, probably the cause is due to cache memory, i.e. what I think. the script includes constantly opening webpages, and the loop runs for almost 2k times and maybe the cache is the cause.

And I don't get any error message, the script just waits for the web page to load and exits. Meanwhile, internet explorer stops working and windows ask me to debug the IE or close IE.

Edited by DoomSack

Share this post


Link to post
Share on other sites

Check the memory consumption while running. Maybe you need to release some ressources after each loop.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Just now, water said:

Check the memory consumption while running. Maybe you need to release some ressources after each loop.

Ohh.. !! And how do I do that ??

Share this post


Link to post
Share on other sites

Windows Task Manager?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
1 hour ago, water said:

Windows Task Manager?

Lol. Could you be more specific about how automate it.

Share this post


Link to post
Share on other sites

Why automate? Just start the Task-Manager and then your script and watch how memory consumption increases.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

All browsers are fine. See ff.au3 chrome.au3 ie.au3

Generic iuiautomation in examples section can deal with safari to.

Check if you cannot use inetget functions.

1 person likes this

Share this post


Link to post
Share on other sites
8 hours ago, junkew said:

All browsers are fine. See ff.au3 chrome.au3 ie.au3

Generic iuiautomation in examples section can deal with safari to.

Check if you cannot use inetget functions.

Thank you Junkew .. Will Look into that ..

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

No need to Fix your computer, just use Firefox.

Details: all others are simply a right royal pain in the arse to use ... especially IE.

Spoiler

:P;)

 

Edited by TheSaint
1 person likes this

AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox

userbar.png

Share this post


Link to post
Share on other sites
15 hours ago, water said:

Why automate? Just start the Task-Manager and then your script and watch how memory consumption increases.

Whenever I run my script I close the applications first run ccleaner and then run my script and I leave. I return back to my system after couple of hours. That is why I want a solution to this problem in a way that I don't have to do anything manually.

Share this post


Link to post
Share on other sites
Just now, TheSaint said:

No need to Fix your computer, just use Firefox.

Details: all others are simply a right royal pain in the arse to use ... especially IE.

Thank you very much saint. I was thinking to use firefox, just wanted someone to tell me. Will do so .

Share this post


Link to post
Share on other sites

No worries, I was just correcting JohnOne's spelling mistakes. :lol:


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox

userbar.png

Share this post


Link to post
Share on other sites
Just now, TheSaint said:

No worries, I was just correcting JohnOne's spelling mistakes. :lol:

:D No Further Comments on the topic :P

Share this post


Link to post
Share on other sites
1 hour ago, TheSaint said:

just use Firefox.

Firefox FTW :thumbsup:

1 person likes this

AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • Swatcat
      By Swatcat
      Hi All,
      So I need Help.
      I am developing code to handle Authentication Popup For IE. The issue I am facing is that this code runs smoothly on unlock desktop but fails on VM machine and when machine is locked. So could you suggest what should I do to make it work. My automation Tool is a Selenium Based tool and is able to launch the script, but the AutoIT Script is unable to pass the username and password on the authentication popup.
      Below is the code.
      I am passing the values through Command line arguments.
      #include <Array.au3> Local $browser, $BAuthMode, $BWinAuthUserName, $BWinAuthPassword, $BChromeClaimsURL, $BChromePolicyURL, $BIEPolicyURL, $BIEClaimsURL; $browser = $CMDLine[1] $BAuthMode = $CMDLine[2] $BWinAuthUserName = $CMDLine[3] $BWinAuthPassword = $CMDLine[4] $BChromeClaimsURL = "" $BChromePolicyURL = "" $BIEURL = "" ;$BIEClaimsURL = "" If $browser = "chrome" And $BAuthMode = "m" Then If WinExists($BChromeClaimsURL,"") Then WinWaitActive($BChromeClaimsURL) ; set control to the window for proxy authentication Sleep(500) Send("{ESCAPE}") ElseIf WinExists($BChromePolicyURL,"") Then WinWaitActive($BChromePolicyURL) ; set control to the window for proxy authentication Sleep(500) Send("{ESCAPE}") EndIf ElseIf $browser = "ie" And $BAuthMode = "m" Then If WinExists($BIEPolicyURL,"") Then WinExists($BIEPolicyURL) ; set control to the window for proxy authentication Sleep(500) Send("{ESCAPE}") ElseIf WinExists($BIEClaimsURL,"") Then WinWaitActive($BIEClaimsURL) ; set control to the window for proxy authentication Sleep(500) Send("{ESCAPE}") EndIf ElseIf $browser = "ie" And $BAuthMode = "w" Then WinWaitActive($BIEURL,"","20") if(WinExists($BIEURL)) Then Sleep(500) Send($BWinAuthUserName & "{TAB}") ; send username and press TAB Sleep(100) Send($BWinAuthPassword & "{ENTER}") ; send the password and press enter Sleep(100) EndIf ElseIf $browser = "chrome" And $BAuthMode = "w" Then If WinExists($BChromeClaimsURL,"") Then WinWaitActive($BChromeClaimsURL) ; set control to the window for proxy authentication Sleep(500) Send($BWinAuthUserName & "{TAB}") ; send username and press TAB Send($BWinAuthPassword & "{ENTER}") ; send the password and press enter ElseIf WinExists($BChromePolicyURL,"") Then WinWaitActive($BChromePolicyURL) ; set control to the window for proxy authentication Sleep(500) Send($BWinAuthUserName & "{TAB}") ; send username and press TAB Send($BWinAuthPassword & "{ENTER}") ; send the password and press enter EndIf EndIf WinSetState("[ACTIVE]", "", @SW_RESTORE) Sleep(500) WinSetState("[ACTIVE]", "", @SW_MAXIMIZE)  
       
       
       
    • Gowrisankar
      By Gowrisankar
      Dear members of the forum,
      I'm new to AutoIt and I'm having a good time exploring and enjoying the features of AutoIt.
      For one of my tasks, I've to open few particular mails from outlook based on subject of the mails and then print the mails. Can someone please guide me how to do it?
      My question could be very silly for experts. But I'm just a beginner. Kindly advice.
      Thanks and regards,
      Gowrisankar R.
    • Valnurat
      By Valnurat
      I have a
      Global $aResult[0][2] For $i = 0 to UBound($aNames) -1 Local $aUserInfo = _AD_GetObjectsInOU($aNames[$i],"","","displayName,distinguishedName") _ArrayDisplay($aUserInfo) _ArrayConcatenate($aResult, $aUserInfo, 1) _ArrayDisplay($aResult, 'AD ' & UBound($aResult)) Next I do receive empty info that's added to my array.
      How can I delete empty records?
    • FrancescoDiMuro
      By FrancescoDiMuro
      Good morning
      I'd like to know if someone else here has already tried to use an AutoIt script which work on the same DB ( i.e. SQLite ) on different Computers.
      If yes, please answer here, because I'd like to develop it, and I don't know where to start ( i.e. , I don't know how the script would work if 2 or more users are writing/reading in the same moment... )  
      Thanks! 
    • Valnurat
      By Valnurat
      Hi experts.
      I'm sorry if this has been explained before.
      I have a list of dates. Some are like this: YYYY/MM/DD and that is ok. But then I have some like this: DD/MM/YYYY and that is not ok.
      I want to go through the list in convert it to YYYY/MM/DD.
      How do you convert DD/MM/YYYY to YYYY/MM/DD?