QTP -object reposistory spy tool is not able to spy the pop
up message appearing in the application, so how is that i
can handle such run time pop ups in QTP by code???
Answer Posted / pratap bandagi
use Sendkeys method to Click on the button highlited.
for Example if there are two buttons on the popup use Sendkeys method to click on the default button like {"ENTER"} or {"TAB"} or {"ALT+F4"} so that u can close the popup or perform any operation on the popup.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How to check feasibility of the appliction?in automation testing?
How to capture all the data of a webtable, weblist and combolist using QTP?
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 type of run time errors you get while you ar edoing rpg program?
How to integrate the qualitycenter with qtp
What are metrics and matrix?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
How does you test a weblink which is changing dynamically?
Explain different type of event trigger option.
Output values? i want a practical example
any body can you help me what is the script to automate an comand promt
Where we can use the synchronization?
What is the significance of “action 0” in qtp?
How can i check items sorted or not in a weblist ? Give me the script for this...