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 |
What all challenges you have faced during automation and how you have resolved it?
Have you used TD?
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.
Which property do you use to retrieve or assign data into a cell in a Data Table object?
what sort of things what u put in Bug Report ?
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
How many types of recording modes in qtp?
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?
what is web application and client server application.is there any difference ?
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