I am trying to automatestrong text a certain task and the procedure of it is as follows:
Open web browser (Google Chrome)
Go to a certain site
Put in username then jump to another field (like pressing the Tab
button.. it automatically log ins since I am connected to the
office network)
Type again on a certain field
Click search button etc etc
Is it better to code a windows service? Are there any other ways to do the above task? I wanted to automate it because the job is just more about Click, Type, Click, and Wait. The values are also somehow fixed so it could really be automated.
Related
I am developing a samsung gear watchface in tizen studio with javascript
I need to get some user data in order to make the watchface work properly (the birthdate in this case) but I dont know how, because if I add a select field in the main html watchface page, it dows not work.
I have also tried with a button that user click and I show a javascript alert prompt but also the button click does not work
One Possibility is It's working, but the placement is outside the watchface View Port.
Run As > Tizen Web Simulator Application
To Check the UI and placement of your input component.
Additional:
Watchfaces show/display information like Time, Power, Sensor Data, Weather, etc. There could also be some Shortcuts (links) to Apps/Features for User.
But, The Watchfaces aren't meant to receive Input text / Dropdowns / CheckLists from User.
I saw this many of web pages such as Facebook , Google Hangouts (i'm taking about in conversation between tow people). When one user type his message on text box, that is indicate on destination user's conversation box like GIF animation. When i saw this for first, I also try it. But i'm not be able to got that. I was look this interaction with my browser's developer tool so I can see change the class of GIF animation div. I think it might be used onkeyup javascript event. How do that? Is it possible that trigger javascript event another computer or another page?
Yes, the information has to go through a server, that sends back the event to the other browsers, which then display "user typing...".
This event is mostly seen on chat modules in websites, who are built using sockets.
See this post: How to Use Sockets in JavaScript\HTML?
The gist: What's the best way to escape a Flash object's focus on a webpage?
Context:
I have a hotkey listener (an AutoHotKey script) running in my tray. If the script detects the command Alt+Shift+F6 while I am clicked into a Flash object on a webpage, it activates and sends key combinations to Flash to pull certain data logs. After this process completes, I want to call up a JavaScript file on that same browser tab that requests additional information from the user - basically, a tiny UI with additional text fields available in a third-party bug tracker. To do this, I want to send a javascript: command to the address bar using Ctrl+L and having AutoHotKey paste in the full call to the JS file.
A visualization of a possible environment:
The problem:
I need the user to be clicked INTO Flash in order to pull the data logs. However, I need the user to be clicked OUT of Flash for Ctrl+L to actually work - Flash appears to eat all keystrokes at the browser-level when one of its objects has focus.
A possible solution: The easiest way to go about this would be to simulate clicking on the stage, which borders my Flash object on every side. This should work, but I must assume the stupidest possible user. Such a user would somehow limit their current browser window to only be as big as the Flash object (if not smaller), click into it, and attempt to use the hotkey. In this case...I have no idea where I should click, because it could be outside the browser. Further, I don't believe I can assume that all browser address bars are similar amounts of pixels south from the top of the window.
Additional complicating factors:
I want this to work for the user's default browser. (IE, Chrome, Firefox, Safari are my big targets.)
AHK does not provide any native DOM or COM hooks to anything except IE.
Ctrl+Tab and Alt+Tab shenanigans do not appear to work. That can get me to other tabs/windows, but returning to the tab/window with the Flash object still causes Flash to 'eat' further keyboard input.
While I'd be open to using another scripting language than AHK if it could overcome this Flash focus hurdle, I do not know how to create a keylistener that sits in the users tray until activated by a hotkey.
I have no access to the Flash object's code, and it contains no logic to interpret a key combination as a way to break focus or launch a script.
Would it be possible to use WinMaximize to maximize the size of the window? If you do that it should be easier to set up the script to avoid clicking outside the browser.
Perhaps look at ControlFocus and/or ControlSend (using the "edit1" control in IE and FF -- unfortunately, Chrome doesn't expose the "address bar" as a "control" this way but if you test for Chrome first, you can implement your "click outside the Flash box" method for that case).
We are using a Silverlight application together with a third party dashboard tool, both running in separate tabs.
When we click in the dashboard we use SignalR to communicate with the Silverlight application.
Whenever this happens, we want to highlight the tab of the Silverlight application, however we do not want to use an alert box because this requires the user to do an extra click.
Is there a way we can trigger an alert box in the Silverlight application (or html page it is running in) to do an alert that disappears after x seconds?
Either we want a focus on the tab of the Silverlight application (however this is browser blocked) or have a tab highlight which, besides clicking the tab, does not require any user interaction.
The application is browser independent.
Create a child window that pops up and will close after a certain amount of time. You can make it look like an alert if you need to.
How about a solution that attracts the user's attention like web basted applications as Google Talk and Facebook Chat? They change the title on interval basis.
In my opinion you won't find any other, better, cross-browser solution at this moment.
You could hook a dedicated piece of javscript to a SignalR hub on every page you'd like. As soon as you focus on the tab you'll stop flashing.
Here you'll find a jQuery plugin that does what I just suggested
Is it posible to make autoclicker that will open some page then click submit button on that page,
automatically open some other page and then click sumbit and do that for 15 pages for example?
(Or links are login-required but I have login info ofcourse)
All I want is to write javascript or jquery code that will open that pages (not mine),
and click submit button on them.
It would be nice it could work on android browsers.
Check out http://seleniumhq.org/
"Selenium automates browsers. What you do with that power is entirely up to you. Primarily it
is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well."
You can write a chrome extension for that and use content-scripts to do your job. I can't find other way to make js do the job if you don't own the website