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

What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,


Have you used TD?

2 Answers  


what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.

1 Answers  


Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  


what sort of things what u put in Bug Report ?

1 Answers  






How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????

6 Answers   TCS,


How many types of recording modes in qtp?

0 Answers  


How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.

2 Answers  


Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?

3 Answers  


what is web application and client server application.is there any difference ?

1 Answers   Wells Fargo,


what is the extension for QTP files?

16 Answers   American Solutions,


how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes

4 Answers   STC,


Categories