I am using browser Firefox to login to service desk. I am using a Firefox add-ons Tab Auto Reload to do auto refreshing at 1 min.Each time it refreshes and I am logout and and directed to the login SDM http://hostname/CAisd/pdmweb.exe.
How can I make Service Desk Manager refresh this page only without logging out my session.
Hi Guan Hua Chee,
Did a search seem SDM Auto refresh seem this might work for me. I might not need to learn another tool although I was trying read up on Greasemonkey :: Add-ons for Firefox and WebExtensions - Mozilla | MDN it seem might take some time for me to pick up in this environment.
Session timeout could be adjusted, but auto refresh of web pages not possible out of the box.
I second Jon's Suggesstion.
Do you need to refresh the entire page or just refresh the Scoreboard on the analyst home page? If the latter, then 'web_auto_update' in Options Manager lets you set a timer for refresh. This is a global change and may affect performance.
If you just want this for yourself or need to refresh a full page, then look at AutoIt - AutoIt This is an oldie but goodie when it comes to browser mouse/keystroke automation. You should be able to configure it to perform the 'View->Refresh' sequence on any windows, including in the background. I haven't done this in a while but it should be straight forward. Here is a very rough draft which assumes the user is already logged in and then activates the FireFox window and sends the View->Refresh keys. It looks for the Mozilla class and so ignores other windows from other vendors (at least, I tested against another IE in the background and it passed).
This script is targeted on Firefox which version ?
I am using 51.0.
Output after running with RefreshSDM_FF.au3 as below.
Using Firefox version 31.0 only have the Firefox tool bar drop down.
The script is just looking for the Mozilla class - it is not specific to any Firefox version.
It is a very rough draft. The script should work if you are focused on the Service Desk tab. Otherwise, you will need to modify it and send a mouse-click / key stroke to change to that tab (or any one where the View->Refresh sequence is valid for the screen you want to refresh).
Play around with it!
I view the youtube AutoIt Tutorials. Your quick and effective way to learn the language. - YouTube and modified the script.
It did call Service Desk Manager refresh function on both Firefox 31.0 and 51.0.
The only problem is when Alt v command send("!v") was send to version 51.0, it will detect the request and go to the next node Slidebar wanting for next selection.
It will not go away until the mouse focus on the browser to do something.
I just add a mouse click and some repeating function and the web page in both version seem to behave like an after refresh action.
Tried observing but changing ticket status from open to close and close to open look good on the list view.
Thanks for the advice. This oldie program is still really a goodie as you commented.
Interesting, I don't have this issue. If the FF menu is visible, it is ignored and the content / application menu is activated. (This is FF ESR 45.7.0)
If however, the SDM tab does not have the focus (for example, I selected the New Tab above), then the script would not see SDM as a background and bring it forward but it would not activate the FF menu either. Since the WinWaitActive was used, then as soon as the SDM tab was focused, the script would see it and perform the View->Refresh sequence.
I think you can manipulate this as you did or go further and rotate through tabs until the one is in focus. At that point, you can have one browser window with multiple tabs as views and take action in each as needed.
It's been a while (and I don't have time to do it now), but I have used this as a very small and portable tester for function and load.. Once you get a scenario in place, you can then simulate user functions and login, create, modify, and logout.
I'm glad this helps you.
Sorry to take so long.Just setup my service desk vm from scratch.
I run the script with AutoIt3_x64.exe saw an icon in the notification icon tray.
After I minus the file explorer the icon disappear. What do I need to observe ?