Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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
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.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 is verification & validation?

2 Answers   Accenture, TCS,

How can we do Data driven testing Using For loop in QTP?

2 Answers  

can i able to connect any version of qtp to any version qc

2 Answers  

Tell some commonly used Excel VBA functions?

0 Answers  

Tell me about qtp?

0 Answers  

How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.

1 Answers  

What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)

1 Answers   Wipro,

what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example

2 Answers  

I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can give script for this scenario?

5 Answers   AZTEC,

What is use of object spy?

0 Answers  

Diff b/w Health care domain and Banking Domain?

0 Answers  

What is the function of Filter in QC . give with a real time example.

1 Answers   TCS,