Provide TSL statement which specifies keyboard input...?

Please explain WinRunner architecture.
Winrunner is a "record and play" tool.
Winrunner process is a six step process.

What is Exception Handling in WinRunner?

Provide TSL statement which specifies keyboard input

Questions by Namataraginu

Showing Answers 1 - 3 of 3 Answers

a_katiyar

  • Aug 21st, 2008
 

Functions which can be used to specify keyboard inputs :
 
    type (keyboard_input); #sends keyboard input
         eg. type ("Hello");  # type "Hello" string

               type ("<kReturn>); #press Enter

    win_type("Win",keyboard_input); #sends kb input to window

          eg. win_type("Calculator", "4"); #types "4" in win calc


    obj_type("Object",keyboard_input);#sends kb input to object
           eg. obj_type("Edit", "Hello");   # type "Hello" in editbox


For detailed usage refer WR "TSL Online Reference"


Regards,

- AK

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions