Cn u please clarify my doubt Where are micTab and micReturn
used.Thanx in Advance
Answer Posted / 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 View All Answers
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
Which environments does qtp support?
how to post xml data from QTP scripts to any application?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
Differentiate the type of test cases which can be automated and which cannot be automated?
What is Cross browser testing? Does UFT support it?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Explain actions in qtp ?
what is defenetion of kiran can u tell me plz CVS, SVN
What are the different types of checkpoints?
Write a script to customize the test results in PDF and HTML format.
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME