is it possible to operate(on/off)the capslock using qtp

Answers were Sorted based on User's Feedback



is it possible to operate(on/off)the capslock using qtp..

Answer / kiran

using windows script host object we can solve this
Set WshShell=Wscript.createobject(Wscript.shell)
WshShell.sendkeys {CAPSLOCK}

Is This Answer Correct ?    3 Yes 2 No

is it possible to operate(on/off)the capslock using qtp..

Answer / rohit

Yes it is possible
For taht you have to rec on screen keyboard by pressing
windows button + U
rec the hole funtion and use it where you need it

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

What is the pros and cons between QTP and Rational Robot

0 Answers   Virtusa,


Anybody can tell me what are the common roles and responsibilites of a Automation Test engineer

2 Answers   IBM,


Could you please suggest a book to start with QTP and also a book for advanced concepts?

2 Answers  


How to do Laod testing for web based Application?

1 Answers  


what r the send key commands in QTP why they r used

1 Answers  






How do u do batch testing in WR & is it possible to do in QTP, if so explain?

1 Answers   Crea,


There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.

1 Answers  


How did you resolve conflicts present in Object Repository?

0 Answers  


I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?

1 Answers  


how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??

2 Answers   Siemens,


How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?

1 Answers   CTS, IBM, London,


What is throw object?

1 Answers   AZTEC,


Categories