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 analyzing test results using quicktest professional?
General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?
What is the difference between Action and Function.? when both has the same functionaltiy, when do we choose Action and when do we choose Function..??
3 Answers DST Global Solutions,
Where are the snapshots stored?
What are the Disadvantages of shared object repository?
How many types of OBJECTS are there in QTP?
8 Answers Intel, Inter Globe Technologies,
str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
What is the difference between a Function and Procedure in QTP?
Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...
How to import excel sheet to QC?
can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?
How many ways return more then one value from function?