| || |
Focus not Recieved QTP10
The QTP is hsowing me this error "The target element cannot receive focus".So, I just googled and found whenever such errors occur it means that the property "IsKeyboardFocused" is "False". I confirmed the property using .Net spy and it was false. So, this error is making me unable to type the value in the field.
Kindly can anyone guide me how I can make that property true.
QTP Version : 10
OS : Windows XP
Windows: Visual Studio 2008, C# using .NET Framework 3.5.NET & WPF
Hotfix and Patch Information: QTPNET_00038
NET & WPF Extensibility Add In
Your help will be highly appreciated.
Re: Focus not Recieved QTP10
The solution to the above issue:
Set WshShell = CreateObject ("WScript.Shell")
Do use the Sendkeys as per your application behaviour.