Which statement is recorded when left mouse button is relase?

Options
- mtype(“< T110>< kLeft>-“);
- mtype(“< T110>< kLeft>+”);
- mtype(“< kLeft>+”);
- mtype(“< kLeft>-“);


CORRECT ANSWER : mtype(“< kLeft>+”);

Discussion Board
WinRunner

Answer: mtype(“<Kleft>+”);
Solution: In analog mode, when we move the cursor and click on any object or keyboard input then winrunner records the test scripts that defines all the action or movement of the cursor. It uses some statement in test script to define some action like move_locator_track (1) for mouse track, mtype ("<T110><kLeft>-") for left mouse button press and mtype ("<kLeft>+") for left mouse button release.
Therefore, mtype ("<kLeft>+") is the correct answer.


Rohit Srivastava 08-7-2014 03:53 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement