Cn u please clarify my doubt Where are micTab and micReturn
used.Thanx in Advance
Answers were Sorted based on User's Feedback
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 |
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 |
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?
Explain the Different types of QTP test assets and their extensions?
how you will do cookie testing using QTP?
How will u find that how many List boxes( and check boxes) are present in one particular window
Pls let me know how to find out creation time and index for the web application in descriptive programming?
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
I want to open a Google page without recording a test and i do not want to use system.Util.run command as well how do i do this?
How to delete an object from the object repository?
What are the different attributes used with regular expression?
what is the framework followed by ur company in qtp