alerts

Alert Handling - Selenium WebDriver/ Selenium RC 2.18.0 - Exception

回眸只為那壹抹淺笑 提交于 2019-12-07 03:29:11
问题 My automation test software for a web application runs on IE, Firefox, Chrome and Safari, and is written using C# and Selenium WebDriver (IE, Firefox, Chrome), Selenium RC (Safari). A new error occurred when I upgraded to version 2.18.0 today. I am seeing the following exception: System.InvalidOperationException: Modal dialog present (UnexpectedAlertOpen) I saw this exception beingn thrown for IE, Firefox and Safari so far. I looked up the release documentation and did not find anything that

Selecting sounds from Windows and playing them

感情迁移 提交于 2019-12-06 18:45:14
问题 I have a WinForms app. This app has a Preferences section where the user will be able to select which sounds are played when an alert is being displayed. Is it possible to have a combobox where the user can select from the Windows stored sounds such as "critical stop", "critical beep" and so on. These are found in the "Control Panel" >> "Sounds and Alerts" section. Is it also possible to have a play button to test the sounds out? 回答1: Try this: private void Form1_Load(object sender, EventArgs

TFS2010: Set up an alert that will email a member in the team when a work item is assigned to them

爱⌒轻易说出口 提交于 2019-12-06 02:13:41
问题 I want to notify each team member when a work item is assigned to them. I know how to set up an alert per team member (so if there are 10 team members I set up 10 seperate alerts) but is there a way to set up a single alert that will email the person the work item is assigned to? I have the filter complete: "PortfolioProject" = 'MyProject' AND ("CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/OldValue" <> '@Me' AND "CoreFields/StringFields/Field[ReferenceName='System

Colour of Text in a Javascript Alert

╄→尐↘猪︶ㄣ 提交于 2019-12-05 11:05:55
Is there any way to change style of text, format the text inside a Javascript Alert box. e.g. changing its colour, making it bold, etc.? Also, if there an Alert avalaible with a 'Yes', 'No' button instead of an 'OK'/'Cancel' one? No , I'm afraid that is not possible. With JavaScript, you are limited to only 3 popup boxes: alert , prompt and confirm . If you want to make a more featured popup, you should try using one of the many that exist written in JavaScript, which are built from JavaScript Libraries, such as this You can't manipulate the standard alert dialogs this way, but you can make

Is there a way to simulate a click on an alert in JavaScript?

99封情书 提交于 2019-12-05 03:36:46
I have a page with an iframe whose source page is in a separate domain. From time to time, the source page generates an alert. When it does so, it stops what it is doing until the user clicks OK to the alert. What I would like to do is programmatically click OK on this alert so the source page can get back to being useful. Is this possible? JavaScript is single-threaded, which means when you call a function, it blocks until it returns. When you call alert(), that passes control to the browser which decides how to handle it. It is not Javascript which is popping the UI dialog, it is the browser

Selecting sounds from Windows and playing them

三世轮回 提交于 2019-12-05 01:36:33
I have a WinForms app. This app has a Preferences section where the user will be able to select which sounds are played when an alert is being displayed. Is it possible to have a combobox where the user can select from the Windows stored sounds such as "critical stop", "critical beep" and so on. These are found in the "Control Panel" >> "Sounds and Alerts" section. Is it also possible to have a play button to test the sounds out? Try this: private void Form1_Load(object sender, EventArgs e) { var systemSounds = new[] { System.Media.SystemSounds.Asterisk, System.Media.SystemSounds.Beep, System

How to open TFS Power Tools - Alerts Explorer

馋奶兔 提交于 2019-12-04 23:58:30
I have TFS 2010 and Visual Studio 2010 Ultimate and the April TFS 2010 Power Tools installed. I am a Project Collection Administrator on my TFS Server (so permissions should not be an issue). I want to open the alerts explorer, but when I right click on a project tab it is not there: Just in case I tried upgrading to the March version of the TFS 2010 Power Tools. There was no change. Opening the "Project Alerts" just gets me the normal Alerts dialog. I need to make a new alert. Any ideas how I can get the missing menu item back? Edit: I tried manually adding the menu item to the context menu.

TFS email notification

狂风中的少年 提交于 2019-12-04 22:46:18
When I add a bug (Work Item) in TFS, and assign it to a user, I want an email sent to that user. Also if an existing bug has the "Assigned To" changed, I want that user to get an email. Is it possible to send Alerts to users when they're assigned changed bugs in TFS 2008? In VS 2005 at least, on the Team menu you will find a Project Alerts... item which allows users to specify an email address that will be notified when My work items are changed by others , which covers both the situations you mention. I imagine VS 2008 will have a similar thing. Unfortunately, TFS doesn't have anything built

TFS2010: Set up an alert that will email a member in the team when a work item is assigned to them

試著忘記壹切 提交于 2019-12-04 05:23:10
I want to notify each team member when a work item is assigned to them. I know how to set up an alert per team member (so if there are 10 team members I set up 10 seperate alerts) but is there a way to set up a single alert that will email the person the work item is assigned to? I have the filter complete: "PortfolioProject" = 'MyProject' AND ("CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/OldValue" <> '@Me' AND "CoreFields/StringFields/Field[ReferenceName='System.AssignedTo']/NewValue" = '@Me') .. but I am stuck on how to make the email address that the alert is sent to

Using Jabber to send network messages

让人想犯罪 __ 提交于 2019-12-03 09:05:46
(Also asked over on ServerFault , where I was advised to post it here too) We have a requirement to send desktop alerts to various users (compliance, production) across a network when other users have submitted content online for a report. At present we are using NET SEND but this has no guarantee of delivery and has proved unreliable from both client and server perspective (and I gather will be unsupported in later versions of Windows; we are currently running XP). We are considering a Jabber-based solution but has anyone used a Jabber client to pop up alert messages on the screen like NET