CodedUI prints "pipe" instead of "slash" - vb.net

I have a problem with using Keyboard.SendKeys in CodedUI tests during entering date. I have simple html page with textbox (input[type='text']) and I'm trying to enter date in format (M/dd/yyyy) into it by following command (I am using VB.NET):
Mouse.Click(htmledit)
Keyboard.SendKeys("^A") ' Sending keys to select all and delete hence clear content of the textbox
Keyboard.SendKeys("{DEL}")
Keyboard.SendKeys("10/10/2014")
In my machine, it works just quick and perfect.
But, today's morning I tried to run test on the another machine and I noticed that it types pipe (vertical bar) instead of each slash! So, what I got is: 10|10|2014..
I was very surprised and tried another symbols and they work just as fine as on the my machine.
By googling this problem I have nothing. Does anyone know how to fix it? And I am very curious why it happens? Keyboard.SendKeys depends on what?
Thank you.

Related

AutoIt select item from menubar

i want to build some automation code that will select some item from a menubar of minimized (or non-active) window.
I have tried to do it with ControlSend function by sending some keys like alt and directions, but it's not working...
See my example:
I want to select the item "Select All", for this i wrote this code:
WinWaitActive("")
Send("{ALTDOWN}{ALTUP}{RIGHT}{ENTER}{DOWN}{DOWN}{ENTER}")
The code above works good, but i want that it will work when the window is not active, so i wrote this line:
ControlSend("", "", "Term Class1", "{ALTDOWN}{ALTUP}{RIGHT}{ENTER}{DOWN}{DOWN}{ENTER}")
This is not working for me, do you have some idea how can i implement it?
I too was trying to work with minimized windows but have since switched from windows so i wont be able to test things out for you. I have been told (and from experience) that you cant use control send (or the mouse click alternative which is called "control click") on applications that do not come stock with windows (applications that dont come with the computer, to put it simply).
However i came upon this (https://www.autoitscript.com/forum/topic/7112-minimized-clicking-great-for-game-bots/) which seems to be a 3rd party add in that lets you do just that, i tried using it but could not make it fit my needs. Perhaps you can, I would try to get it working for you but again, i dumped windows. The above link is the best candidate i have found, and by far the most promising after i searched and tested for about a month a while back, Good Luck.
EDIT: As always, i do not promise anything from the above link, you use it at your own risk.

Notes 9 crashes while editing external email

We have a customized mail template where we can set values of a parameter in mail preference.
After getting upgraded to Notes 9, when the parameter is set to Automatic it's working fine, but when another value is selected below thing happens (It was working fine in previous versions of Notes..):
After opening any external email, after double clicking on the mail body to edit.. notes is getting crashed.
I have two questions :
I see for external emails the control is going from querymodechange to queryclose while editing. Does it always happen?
I debugged the whole thing. Surprisingly it works in debug mode..no notes crash!!
Any help would be much appreciated !!!
This is why customizing the mail template is rarely recommended. There are interactions and dependencies between the code in the template and the Notes client, and it's very hard to debug. Since you haven't shown any of your customized code, I don't think anybody is going to be able to help you. I would recommend removing your customization code one piece at a time until it no longer crashes. Then you'll have an idea of what's triggering it, and you can try a different approach.
When Notes crashes, it dumps some diagnostics in the data/IBM_TECHNICAL_SUPPORT directory, notably the file console.log
You could review it and post here the lines pertaining to the crash.
Also, what was the previous version of Notes ?
To target the offending code line, you can use that old, dirty and tedious trick : add the folling line at the top of the QueryClose event, and move it down until you no longer see the result. Then post the context.
print now & "so far so good"

Gedit with blurry chars

I am using gedit for PHP development but I noticed since a few months that sometimes when I type something, some parts of the text become blurry and only after a click somewhere else or type another letter it comes back to normal. I got used to this problem but I am curious about what can be causing this type of issue. I've tried to reproduce this error on a screenshot but the Ubuntu's screenshot feature removes the focus of the current window, so it "fix" the error on gedit
Do you know what can I do about it?
EDIT:
This problem only occurs in gedit, and nowhere else.
Here comes the picture of the error:
http://i.imm.io/udEc.jpeg

VB.NET - Form is stuck

I have written a program and have used it (in debug mode) multiple times to test it out sometimes adding code and/or changing it. After a while any code I wrote or new buttons or features I added to the form would not appear while debugging. I don't know what circumstances led to this.
The only solution I found was to rewrite my code from scratch, however, the problem came back after a while. I don't know what is going on and I can't move on without starting all over again.
Thanks for all the help.
try rebuilding your entire solution, I believe to do this you must right-click on the project and there should be a menu option that says "rebuild solution". Try that.

My.Computer.Keyboard.SendKeys(Keys.PrintScreen, True)

I am attempting to send the PrintScreen key, obviously, which ought to work no matter the window it is focused on. How can I make this trigger the printscreen action like it normally would? This is in VB.net. Thanks for the help!
I have googled this, and couldn't find any results that worked.
EDIT: Somehow, this worked, once. But now it is not working at all!
I would guess that your EDIT note about a successful attempt is actually just that you had manually hit PRNTSCRN previously and that your clipboard still had it in there when you ran you program, which put nothing in the clipboard, but then read your manually taken screenshot out again.
Your approach to get a snapshot of the screen won't work - you have to use some pinvoke stuff, which isn't that hard to piece together if you're patient. http://www.pinvoke.net/ is a great resource.
OOO, and I have never tried this, but this article seems confidently written. http://www.dreamincode.net/code/snippet2572.htm