Codedui - sendkeys for ALT does not function when replaying scripts in remote desktop
using remote desktop to access server that executes codedui. the script contains sendkeys steps. the first step is to click the ALT key. watching the replay, the alt key never gets 'sent/clicked'. script executes successfully if
executed directly on the server machine (not using remote desktop for replay). how to get sendkeys to execute replaying codedui on server accessed by remote desktop?
Hi cemav,
According to your description, it seems that the coded UI test script is created in VS IDE on the server machine.
Could you please tell me detail steps about how you use the remote desktop to access server that execute the coded UI test script?
Please share me the error log about executing the coded UI test script fail.
From this issue, I suggest you try to check if you can access the server machine successfully without executing the coded UI test script from the remote desktop?
In addition, I suggest you could use DrawHighlight Method /SetFocus()
to check if the correct control is found before you perform actions on the target control.
Or you can also refer the following blog to check your issue.
http://blogs.msdn.com/b/tapas_sahoos_blog/archive/2011/11/07/troubleshooting-record-and-playback-issues-in-coded-ui-test.aspx
If the above suggestion still could not help you, I suggest you can share me the latest message about your issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Workflow does not start when PowerShell Script is run from Task Scheduler
I have a PS script that updates an item in a SP2010 list so that a workflow will be started. When I run the PS script manually from the PS window on the server it resides, the script runs flawlessly. If I set a scheduled task on the same server
to run the script with the same credentials as are being used in the PS window, the script runs, updated the info on the list, but DOES NOT start the workflow. As we know, SPD workflows cannot be started by anonymous or system accounts. It is as
if the task scheduler adds a bit of information that makes the SP2010 list think the information was updated by one of these accounts even though the field in the list for the item being updated shows the correct account.
HELP!!!
DHi,
The issue might be related to the script or schedule task settings your configured. You’d better check the settings.
For example, which option do you set to run the scheduled task? You may select “Run whether user is logged on or not” instead of “run only when user is logged on” as shown in this article:
http://blog.pointbeyond.com/2010/04/23/run-powershell-script-using-windows-server-2008-task-scheduler/
Hope it helps.
Best Regards,
Sally Tang -
Create a file if it does not exist when a script runs
I have a shell script I run using automator that puts on the clipboard a string like Page 001, Page 002 and so forth incrementing the number 00x everytime it runs. I use it when I need to sequentially name files when doing things like scanning documents and so forth.
Presently, I have to manually create a file "~/counter" and enter the integer to start counting from. So if ~/counter contains 0, pbcopy places "Page 001" on the clipboard and so forth
The shell script
<pre class="jive-pre">
#!/usr/bin/env bash
myvar=$(cat ~/counter);
let myvar=$myvar+1;
mycopy=$(printf "Page %03d" $myvar);
echo "$mycopy" | pbcopy;
echo "$myvar" > ~/counter;
</pre>
works fine now.
I want to modify the script so that if ~/counter does not exist, the script creates a file and initializes an integer value say 1 in the file. If the file exists, the script uses the integer used in the file.
How can I get this done?And because I can not leave "Well Enough Alone"
#!/usr/bin/env bash
count=0
[[ -r ~/counter ]] && read count anyjunk_aftercount <~/counter
count=$((count+1))
echo "$count" >~/counter
printf "Page %03d" $count | pbcopy
The anyjunk_aftercount is just in case something else gets into ~/counter. Assuming the first non-blank field on line 1 is the count, then anything following the count will be stuffed into anyjunk_aftercount and since the script ignores it, it will go away when the script re-writes ~/counter with just $count -
Dialog Box does not function when called a second time
I have created a dialog box that only seems to work once in a larger application. The box is designed to be a MatLab code debugger. My idea was to allow a user to interactively create/debug Matlab code from LabView using ActiveX automation. Anyway, I have created a test vi that uses this dialog box twice. The first time it is called it functions as expected, but the second time nothing on the front panel (of the dialog box) responds and I cannot close the window or interrupt the vi. I am using LabVIEW 7.0 on Windows 98. Please see the attached vi's. MatlabDebugger.vi is the dialog that's causing the problem. Matlabx2.vi is the sub vi that handles the ActiveX automation. Debuggertest.vi is the test v
i in which the dialog will not word a second time.
Thanks in advance for any help or suggestions.
Attachments:
Debuggertest.vi 51 KB
MatlabDebugger.vi 303 KB
Matlabx2.vi 361 KBThe problem is caused by the nested event structures; you have an event structure inside an event structure, acting on the same controls. When the main one reacts to the cancel the other one get's stuck...so on the next call the main event structure just halts due to the stuck event structure inside it. It's not obvious why this is a fault, you may be able to spot it now that you're on the track though.
MTO -
Rollover Slidelet does not function when the trigger & display areas overlap
Hi everyone,
I am trying to use a rollover slidlet where the user hovers over a specific area (my target area) and then an image appears within that same area; thus I want my target area and display area to be the same. Then when the user clicks on this same area, I also would like the slide to continue onto the next slide. The technique works fine when the trigger area and and the display area DO NOT overlap, but once they do the image in the display area no longer appears and my mouse begins pulsing. Does anyone know how I can get the slidelet to behave like I want it to? Or know of any other way I can accomplish this? Advanced actions?
Thanks so much.Indeed, you cannot have Rollover area and Rollover slidelet in the same place, very annoying.
Advanced actions cannot be triggered by a rollover event, except for Rollover slidelet, and that is the issue. If you really want a hover over effect, the only way I see is using the Eventhandler widget from InfoSemantics, it is not free:
http://www.infosemantics.com.au/catalog/widgets/interactive/wdgt_event_handler_01
Lilybiri -
WMI InvokeMethod for StartService does not work when used with ManagementOperationObserver on IIS
Hi,
I am using .net 4.5 and C# to remotely restart the services. I am using WMI to do this task. This code works when called from windows application on the machine, but same code when used inside web application it gives exception of invalid parameter.
We saw it log error in System Event log
The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID
{49BD2028-1523-11D1-AD79-00C04FD8FDFF}
and APPID
{49BD2028-1523-11D1-AD79-00C04FD8FDFF}
to the user IIS APPPOOL\<app pool user> SID (S-1-5-82-634865507-143429395-1373251082-3464226226-3883016302) from address LocalHost (Using LRPC). This security
permission can be modified using the Component Services administrative tool.
I am pasting below code for reference.
m.InvokeMethod(observer, "Startservice", null, null);
//wait until invoke method is complete or 30 sec timeout
int intCount = 0;
while
(!completionHandlerObj.IsComplete)
if (intCount > 60)
MessageBox.Show("Inside 30 seconds");
break;
//wait 1 sec.
System.Threading.Thread.Sleep(1000);
//increment counter
intCount++;
//see if call was successful.
if (HandlerObj.ReturnObject.
Properties["returnValue"].Value.ToString() == "0")
isStarted = true;
DhanajiFor web apps the context will be the context of the app pool. Unless you set the app pool to run as a user account that has admin privileges on the remote machine then you won't be able to control the services on a remote machine. If you have
enabled Win auth such that the app runs in the context of the remote user then you might need to turn on delegation otherwise the hop won't work.
Note that if you are using Win auth then consider using ServiceController instead which provides the same functionality as WMI but with a cleaner syntax. This wouldn't work if you need to impersonate a user though.
Michael Taylor
http://blogs.msmvps.com/p3net -
VPN connects but does not function when resuming from sleep
THe VPN on my ibook works fine - it connects and the data goes through. but when i put it to sleep (lid close/power->sleep) and than wake it up VPN connects fine and that's all. data stucks. i disconnect it - all works, pings go and so on. i connect it again, it connects, and pings stop, tracerouting stops and that's it. any ideas?
Whatever you are connected to thinks you are disconnected by the sound of it, or it is confused about the current session and is not allowing traffic. Something in the "sign off" settings on the other may be misconfigured.
You might want to post what you are connecting to (business network, etc). PPTP? L2TP? -
Mail for Exchange does not work when set to manual...
I set up mail for exchange and it works beautifully when set to always on, however many times I want it on manual so I can only check at specific times when I'm away from a pc, but it doesn't seem to work.
When I click synchronise, it appears as if it syncs and disconnects, but it doesn't update anything. If I try the same when I'm looking at the mail for exchange settings, then it tries to connect and says error connecting, try again later.
So i switched to always on, it worked, back to manual, and it seems that the first attempt was successful, but I know it'll stop working later.
Any idea what the problem is with manual checking?I set up mail for exchange and it works beautifully when set to always on, however many times I want it on manual so I can only check at specific times when I'm away from a pc, but it doesn't seem to work.
When I click synchronise, it appears as if it syncs and disconnects, but it doesn't update anything. If I try the same when I'm looking at the mail for exchange settings, then it tries to connect and says error connecting, try again later.
So i switched to always on, it worked, back to manual, and it seems that the first attempt was successful, but I know it'll stop working later.
Any idea what the problem is with manual checking? -
How come Flex Builder does not complain when semi-colons are omitted for AS3 statements?
Hi, I was wondering why my flexbuilder3 plugin for eclipse does not complain when and if I leave off a semi-colon at the end of an AS3 statement. Has anybody else experience this in their flex environments?
What can I do to fix this; as this is very annoying.
Thanks in advance!
TontéHm... I see. Thank you all for your replies. I didn't realize AS3 does not require semi-colons at the end of AS3 statement unless there is more than one statement on the line. I will have to double check this for my self and report back. I guess I can't shake my Java habbits.
Thanks again!
Happy Flexing!
Tonté -
HI!, When updating to ios 7, my airport does not function in my ipad and iphone. No icon appears ...I´ve check I´ve got last firmware on aiport utility, and also I´ve restart both devices... buth still not working
Restart your AirPort Base Station or other router if that's what you have. Unplug it and allow a moment or two for it to reset before plugging it back in again.
If that does not work, try resetting your network settings: on the iPad and iPhone, tap Settings > Wi-Fi, select your network then "Forget this Network". Select the network again, provide its password, and verify you can connect.
If that does not work, Settings > General > Reset > Reset Network Settings. Select your network again as above.
If that does not work, "hard reset" your AirPort Base Station, assuming you are using one and not some third party product. You will need to reconfigure it using AirPort Utility. -
My Ipad has a message on the screenthat indicates that the unit has not been backed up for two weeks. When I press the OK icon nothing happens. I tried to shut the unit down and the red slider does not function.
A reset should help. Tap and hold the Home button and the On/Off button at the same time for approximately 10-15 seconds, until the Apple logo reappears. When the logo reappears, release both buttons and await restart.
-
Siri does not work when used for calling a contact function
Siri does not work when used for calling a contact function
Very strange, try to turn off/on your iPhone. Or make a reset (home+power button)...
If it continues try to restore it. -
pioneer 8400 DVD receiver player, as iPhone ios6 update now when connecting the new iPhone with ios6 to my car DVD 8400 unit, when playing music such as on my phone or Pandora the track button does not function or work at all not even if i press skip track forward or back on the unit it doesn't function everything works except that. on listening to radio or anything else related not pairing thru Bluetooth unit works fine, seems there to be Bluetooth update that is not making iPhone and unit not compatible at all. does pioneer need fix this problem with update firmware or thru apple need help. my iPhone was working fine before with previous ios 5 before.
Dear Valued Pioneer Customer:
We would like to inform you of the availability of an optional Bluetooth® firmware update (HW05-SW01.27.20) that enables Bluetooth AVRCP control and metadata display from a compatible Pioneer CD or DVD Receiver when used with an iPhone® 5 or iOS 6 device. If you do not own an iPhone 5 or iOS 6 device, there is no need to install this update.
This firmware update may be used only with the following 2012 Pioneer products:
CD Receivers
DVD Receivers
DEH-P8400BH
DEH-P9400BH
DEH-80PRS
AVH-P2400BT
AVH-P3400BH
AVH-P4400BH
AVH-P8400BH
In order to perform this update, the following items are needed:
A Pioneer CD or DVD Receiver above with built-in Bluetooth
Laptop with built-in Bluetooth running Windows® 7
Bluetooth firmware update (HW05-SW01.27.20)
How to Obtain the Free Firmware Update
1. Download the INSTRUCTIONS for the optional Bluetooth firmware update (HW05_SW01.27.20).
2. Download the UPDATE FILE to a computer and transfer the file to a compatible 2012 Pioneer CD or DVD Receiver via a Bluetooth-enabled Windows 7 laptop.
You can also arrange for Pioneer to update your 2012 Pioneer CD or DVD Receiver by calling Pioneer Customer Service toll free at 800-421-1404 during regular business hours (M-F 10AM-7:30PM Eastern Time, except on holidays). If this firmware update is performed by Pioneer, there is a charge of $60.00 (this charge includes return shipping of the updated unit within the U.S.). Charges for removal/reinstallation of the unit and shipment to Pioneer are the customer’s responsibility.
How to Determine if the Firware Update has Already been Installed
CD Receivers:
• With the unit turned off (press and hold the source button until the CD Receiver turns off), press and hold the center of the volume knob to bring up the Settings menu → rotate the volume knob until "BT Version Info" is displayed and then press the center of the volume knob → The firmware version should show HW05-SW01.27.20.
DVD Receivers:
• With the unit turned off (press the home button and select ‘OFF’ from the source icons), press the home button → Press the “System” icon at the bottom of the screen → Select the “Bluetooth Version Info” option → The firmware version should show HW05-SW01.27.20.
If the Bluetooth firmware version shows HW05-SW01.27.20, no further action is necessary.
Questions
If you have any questions, please contact the Pioneer Customer Service Center toll free at 1-800-421-1404, Monday through Friday, 10:00 a.m. to 7:30 p.m. (Eastern Time), except on holidays.
Sincerely,
Pioneer Electronics (USA) Inc. -
My "Remember" button doesn't work. Simple as that. The "Not Now"
Button still works, and closes the pop-bar. Remember doesn't do anything.
[Exception... "'User canceled master password entry, login not added.' when calling method: [nsILoginManagerStorage::addLogin]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsLoginManager.js :: anonymous :: line 445" data: no]
Occurs when trying to input 3rd Party extension passwords.
I have no master password set, I have also read the "Password not remembered topic", and it didn't help.
Error Console yields this:
"'''Warning: The 'charCode' property of a keyup event should not be used. The value is meaningless.
Source File: https://support.mozilla.com/en-US/questions/new?product=desktop&category=d6&search=Password+Remeber+Button+does+not+function%3B+Can%27t+input+3rd+Party+Passwords+for+Social+Networks%2FEmails.&showform=1#question-form
Line: 0'''"Okay, I have started Firefox in Safe Mode, and the Remember button still didn't work. After checking the error console, It had the following message again:
"Error: uncaught exception: [Exception... "'User canceled master password entry, login not added.' when calling method: [nsILoginManagerStorage::addLogin]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsLoginManager.js :: anonymous :: line 445" data: no]"
After I Evaluated it (In the error console) it gave me a slightly different version:
"Error: missing ; before statement
Source File: javascript:%20Error:%20uncaught%20exception:%20[Exception...%20"'User%20canceled%20master%20password%20entry,%20login%20not%20added.'%20when%20calling%20method:%20[nsILoginManagerStorage::addLogin]"%20%20nsresult:%20"0x8057001e%20(NS_ERROR_XPC_JS_THREW_STRING)"%20%20location:%20"JS%20frame%20::%20file:///C:/Program%2520Files/Mozilla%2520Firefox/components/nsLoginManager.js%20::%20anonymous%20::%20line%20445"%20%20data:%20no]
Line: 1, Column: 8
Source Code:
Error: uncaught exception: [Exception... "'User canceled master password entry, login not added.' when calling method: [nsILoginManagerStorage::addLogin]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: file:///C:/Program%2"
I read the Troubleshooting extensions & Themes, but It didn't help.
When I tried to read "http://kb.mozillazine.org/Password_Manager" I get a page that says:
"ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://kb.mozillazine.org/Password_Manager
The following error was encountered:
* Connection Failed
The system returned:
(110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is root. "
Also, this error occurs in ALL 3rd Party extensions. It can't log me into E-Mail accounts, Facebook, Twitter, anything. The error message has a window title of [JAVASCRIPT APPLICATION] if that says anything. -
In my newly purchased MacBook Air, Dropbox does not function properly (it shows MS Word, Excell and Power Point docs but not pictures). It asks for Mac OS Password for my computer which I do not have. How should I get this password ?
If the user account is associated with an Apple ID, and you know that account password, the Apple ID can be used to reset your user account password.
Otherwise, boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the OS X Utilities screen appears, select Utilities ▹ Terminal from the menu bar.
In the Terminal window, type this:
resetpassword
That's one word with no spaces. Then press return. A Reset Password window opens.
Select your boot volume if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
Select ▹ Restart from the menu bar.
You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application.
Maybe you are looking for
-
I bought an IPad4 in Virginia, USA, as a gift to my brother who lives in India. I registered it when I purchased it and may have entered my email at registration per guidance I got in the Applestore. When I gave it to him I remember setting up his e
-
Hi, I want to buy an Iphone 5s from the uk apple store online and I will be using it in Panama. I have contacted my carrier (Movistar Panama) and they have given me a list of the Iphone 5s models that will work with their network: Model A1533 (GSM)*:
-
DreamWeaver CS6 starts very slow on MacBook (Lion)
I am relatively new to the Mac, so I my need a little hand holding on this. I signed up for two licenses of the Creative Cloud, one for home and one for work. The one for work is on a late 2011 version of the MacBook Pro with Lion (10.7.5) running, 2
-
All: Just picked up a Dell E196FPb monitor at a yard sale ... hooked it up to a MacBook but the LCD is just white ... in mirror mode System Preferences shows the Dell monitor, its resolution & model number ... the on/off switch on the monitor works b
-
hello every one i wrote simple bulk collect it is giving me an error, i wrote it as per book for 9i, also this one not working Please help what is wrong inthe code. error is wrong type in fetch declare type v_varray is table of emp%rowtype;