Jump to content

Checking Performance Intranet-Sites to low successrate


 Share

Recommended Posts

Dear AutoIT-Community,

I am writting a Script which shall messaure the Performance of some Intranetsites, every Minute several Sites. (I am limited to IE9 + W7) and writing the time to log files

using IE.au3 Lib and _IECreate

$oie = _IECreate("http://myIntranet.com/",0,1,1,0)

i get the following error

 C:\Program Files (x86)\AutoIt3\Include\IE.au3 (560) : ==> The requested 
action with this object has failed.:
WEnd
WEnd^ ERROR

but in fact i think its this line which produces the error, because there is no object to fetch =(

IE.au3 (233) 

Local $o_object = ObjCreate("InternetExplorer.Application")

also with ObjGet("","InternetExplorer.Application") there was no chance to get the object of the intranet site

BTW: We are using single-sign-on in our company, and there is no way to turn it of.

 

So I tried to use Mouseclicks to click through the side, but every 10-100 runs, an error occurs, because the script is not clicking accurate.

 

stuff like:

Sleep(3050)
Send("{TAB}3{ENTER}")   
Sleep(1250)
MouseClick("left",406,355,2)
$begin = TimerInit()
Sleep(100)
$alternative = 0   
Do      
Sleep(150)
$dif = TimerDiff($begin)           
MouseClick("left",517,230,1)      
Send("{CTRLDOWN}a{CTRLUP}{CTRLDOWN}c{CTRLUP}")      
$alternative = $alternative + 1   Until StringLeft(ClipGet(), 10 ) = "Oil&Gas" or $alternative > 30

My last chance was to compare ImagesSearch.au3 (http://www.autoit.de/index.php?page=Thread&threadID=20415) but i couldnt make it to compare a single image.

using this TUT:

Edited by macvoo
Link to comment
Share on other sites

If you search the forum for this error message and the IE UDF you will find a lot of threads.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

If you search the forum for this error message and the IE UDF you will find a lot of threads.

you are absolutely right! Sorry on that. Using the latest AutoIT Beta + latest IE.au3 solved the problem, so i now can use IE.au3 library for the Intranet.

'?do=embed' frameborder='0' data-embedContent>>

 

can I close this thread on my own?!

Edited by macvoo
Link to comment
Share on other sites

Glad you got your problem solved :)

I think you need at least a post count of 10 before you can close a thread by editing the first post.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...