This question already has answers here:
How to use a custom time in browser to test for client vs server time difference
(11 answers)
Closed 5 years ago.
I have a web app and some people in Asia are seeing some weird time zone issues with the dates in the program. Is there a way to fake chrome or firefox or IE to pretend like my computer's timezone is like theirs so I can debug the issues easily?
Sure: launch the browser from the command line with a customized TZ environment variable instead of the way you normally run it:
TZ=Japan firefox &
Make sure firefox isn't already running when you launch it like this because if it is already running then it will probably just open a new window under the existing instance of the browser instead of starting a new instance.
Changing the system time in Windows 8 does auto change my Firefox browser timezone without reboot or relaunch of the sofware.
Related
I don't understand the instructions on the hyper website.
My understanding is that if I edit the ~/.hyper.js file then I can just update the "shell" field. But I don't know what to update in the field if I want the terminal to start on my desktop rather than the root where it currently starts.
This was the closest answer I could find was me asking the same question a few years ago. Change default start location in hyper.is terminal The response seemed to work for me then but something must have changed because running the same command doesn't do anything now.
I spent hours on this yesterday! I ended up having to update the .zschrc file.
I made a walkthrough to hopefully save other people the time to do this.
Even though this walkthrough doesn't talk about Hyper, it did update Hyper as well.
This question already has answers here:
Is there an API event for when person changes clock on Windows?
(2 answers)
Closed 6 years ago.
case: I dont allow my Windows PC to connect to internet. My PC uses internal clock. After a while, I connect my Windows PC into the network, and it receives time packages from internet and update its system time. Now, how can I get informed when my Windows Operating system received a time package and update its own system time from internet. I want to write an application which:
1- get informed about this receiveing time package (NTP) & time update,
2- make own LOG (not very important how? just a printf is enough), like: "System Tiems is updated from 12.38 to 12:44".
Thank you guys for your info & help.
Regards,
Wolfgang
You should be able to use the event log as described here
I've developed an application using Polymer 1.0. My developer computer is a Mac, and I've not had any problems during development process.
However, when I clone my application on a Windows machine (Windows 10), the tests don't work at all.
Whenever I execute polymer test or wct the command blocks the terminal and never ends.
On MACOS or Linux it works perfectly.
The following environment variable values have saved me in Win10 environment:
LAUNCHPAD_BROWSERS=chrome
LAUNCHPAD_CHROME=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
It is not obvious from Polymer and launchpad documentation the need to set only single browser with known location to minimize the test run time during ongoing development. Of course for multiple browsers autodetection it will take more time and traverse over all PATH with guess on all possible browsers takes forever. It would be reasonable not to rely on auto-detection and list in LAUNCHPAD_BROWSERS only browsers you have set in LAUNCHPAD_xxx location.
I finally found a workaround.
It seems that there is a bug in Web Component Tester. When it tries to find all the browsers installed on a windows machine it takes ages to locate some of them.
To solve this problem, just adds an environment variable that tells WCT which browsers are installed, so it can skip this step:
LAUNCHPAD_BROWSERS= _{coma delimited list of browsers}_
For instance:
LAUNCHPAD_BROWSERS=chrome,firefox,opera
Once this variable has been set, all the tests execute just like on any other OS.
More information about this feature here
This question already has answers here:
Running Coded UI test remotely
(4 answers)
Closed 9 years ago.
I experienced a problem with launching Coded UI Tests using Team Foundation Server (TFS) Continuous Integration (CI) without a remote session. I have followed all of the recommendations mentioned in http://msdn.microsoft.com/en-us/library/dd293551.aspx but this still requires an active remote session. The recommendation was to set up a test agent and build service in interactive mode.
Are there any workarounds for running a Coded UI Test remotely?
P.S. We have Windows 7 on our test machine.
Any help will do :)
I couldn't quite follow your question, but I had a problem that I think is something similar:
When running Coded UI Tests remotely, the machine can't be locked or have an active screensaver. If you are running a virtual machine, such as on Hyper-V, and you connect to it using Remote Desktop Connection, closing that connection will lock the screen.
In my case, we were using Hyper-V so I connected using Hyper-V client, and then closed that window. This doesn't lock the screen.
Source: Personal experience
I am not sure what is your problem. I think you mean you want to set up your test agent to run as 'Interactive process' so it can run tests that interact with the desktop (CoudeUi Tests). If this is the problem you are facing then check the following link:
How to: Set Up Your Test Agent to Run Tests that Interact with the Desktop
Before I start, another post for something similar to this request for help is located at Running a process at the Windows 7 Welcome Screen, but the responses were not quite what I believe I am looking for, and the post is over a year old so I thought it best to start a new thread for my needs.
In Windows 7 Ultimate, I am trying to create a script or task scheduler event that will run a Windows "rundll32.exe" process with arguments at the logon, lock, and switch user screens (basically any screen that is waiting for user to log into the machine).
I have tried using the startup script controls in group policy editor as well as creating a task scheduler event, but so far I am unable to get the process to display on the logon screens.
The command line I am using does work while logged into any account at any user level via the "Run.." dialog as well as via CMD prompt, and is only creating a popup that already exists in the Windows OEM Environment.
The hardest part is this: My friend just bought a new laptop. The new laptop came with this specific feature already enabled, but I have no idea what is making it happen and do not have access to the computer to check out gpedit.msc and task scheduler for possible solutions.
There are two reasons why I need this info: 1) I want the feature to work on my own laptop, and 2) my friend would like help disabling it on his as he doesn't like it.
I have been all over Google, posted at Microsoft Answers, and also posted on the laptop manufacturer's user forums. I have found very few pages that refer to the same question as I have, but none have answers that work, and since I have seen and know that this is possible, I am compelled to continue looking.
The laptop that this is currently working on was purchased with a fresh install of Win 7 Ultimate and no manufacturer bloatware/additional software added, so we know that the feature was made to happen by whomever it was that installed the OS and configured it for sale. Therefore I am certain it is just a matter of the right task or script in Windows itself before I see the results I need and then know how to direct my friend to disable his via phone.
The specific call is "rundll32.exe van.dll,RunVAN". In task scheduler I have set this to run as "SYSTEM" and set the triggers for startup, workstation lock, and local disconnect. I have tried using full path to rundll32.exe as well as the bare command. In gpedit startup scripts I have tried full path and bare command. Neither of which for either case is making this popup show on the logon screens.
Any and all help and/or advice on this would be greatly appreciated by both myself and my friend.
dynamic display of images for the credential provider