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

Is it possible to split an action? How?

0 Answers  


How many types of Parameters are available in QTP?

1 Answers  


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

0 Answers  


what is the difference between Reusable action and external action?

2 Answers   HCL,


What are the types of data tables in qtp?

0 Answers  






w is recovery senario manager

3 Answers   Infosys,


How we can add objects to the object repository during the running?is it possible or not?explain

3 Answers  


i have qtp 9.4 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com

0 Answers   Wipro,


what type of test cases tou will automate?

4 Answers   Google,


Suppose I want fail that check point? How can you do that?

0 Answers  


What is Virtual Users?

1 Answers   Crea,


How Can I automate PDF forms using QTP9.2 ?

0 Answers  


Categories