AJAX-WebEdit not recognized in a locked machine
I am using QTP to test a web application with Webedit objects that are validated by AJAX to suggest matching values for the input text.
I have tried using sendKeys, Mercury.devicereplay, sendstring, Type and Set methods. Everything works fine as long as the machine is unlocked.
The same script doesn't work with AJAX-Webedit after the machine gets locked (during overnight test run) while other objects such as weblist and webelements in the same page are still recognized.
I've tried Appactivate and object.focus too...but still no luck..
Is there any way to make it work without changing the screen saver settings?
It's not that easy to change these settings because of the company's information security policy.
Here's the snippet of the code. Any help would be highly appreciated. Thanks
set WshShell = CreateObject("WScript.Shell")
WshShell.AppActivate "Welcome to Online Rate Quote - Microsoft Internet Explorer"
Environment.Value("objBrowser").WebEdit("html id:=" & helperfunctionid1).object.focus
Environment.Value("objBrowser").WebEdit("html id:=" & helperfunctionid1).FireEvent "onkeydown"
Set WshShell = nothing
Re: AJAX-WebEdit not recognized in a locked machine
Search this forum and check the FAQs before asking "new" questions. From the FAQs:
30 Problems with Running QTP on a "locked" system/keyboard