Cn u please clarify my doubt Where are micTab and micReturn
used.Thanx in Advance

Answers were Sorted based on User's Feedback



Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance..

Answer / malathy

MicTab is used to move the cursor to next tab.

MicReturn has the functionality of "Enter" key.

For Instance,
Dialog ("Login").WinEdit ("Agent Name:"). type "hgfo"
Dialog ("Login").WinEdit ("Agent Name:"). type mictab
Dialog ("Login").WinEdit("Password:").Type "mercury"
Dialog ( "Login"). WinEdit ( "Password:"). Type micTab

Dialog ( "Login"). WinButton ( "OK"). Type micReturn

After typing the username, mictab should be used to make
the cursor move to the next tab (i.e Password).
micreturn should be used to press the "OK" button after
providing the password.

Is This Answer Correct ?    26 Yes 0 No

Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance..

Answer / param

micTab and micReturn are the keyboard input constants.

Example scenario: you have a google page opened. cursor
pointed to webeditbox.
you want to search a book.
you type the book name and click search.

If you want to perform this using qtp, you can use
browser().page().webedit("data")
browser().page().webbutton("search").click
This gives you a visual perception of the mouse click.

Instead of using a click of mouse which gives us a visual
perception, we can make the keyboard to do this task using type
browser().page().webedit("data")
browser().page().webedit.type micTab
browser().page().webbutton("search").type micReturn
Note: Fill the elements in the brackets- browser and page

Is This Answer Correct ?    2 Yes 15 No

Post New Answer

More QTP Interview Questions

There is a very good institute for Automation Testing using QTP.For more details please visit jbslearnings.com.

1 Answers  


Hi PLZ explain User Defined Functions in QTP with eample?

2 Answers   Ordain Solutions,


difference between GetROProperty and GetTOProperty

3 Answers   Wipro,


What is LoadRunner?

1 Answers   Crea,


Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday

1 Answers  


How to handle Run-time errors?

2 Answers  


what are the drawbacks for record and payback in qtp

3 Answers  


What does Reporter.Reortevent2 does?

2 Answers  


Explain how you can find the absolute value of the number in qtp?

1 Answers  


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1 Answers  


pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?

1 Answers   Accenture,


I have application it is one digital clock with all minutes and seconds. you have to identify the time to verify weather the time displayed is correct time or not? How do you automate this scenario?

2 Answers   TCS,


Categories