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???
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / amruta
using shell object
a=10
b=20
set objshell=createobject("wscript")
If b=10+a Then
objshell.popup"b is equal to a"
else
objshell.popup"b is not equal to a"
| Is This Answer Correct ? | 0 Yes | 9 No |
what is spy, and how can u use?
QTP WAS WORKING FINE BUT TODAY I GOT THE ERROR , THE MEMORY COULD NOT BE READ -REFERENCE MEMORY ,pPLEASE REPLY URGENT WHAT IS THE SOLUTON
I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?
Set DR= CreateObject("Mercury.DeviceReplay")
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
wt is automation framework? give explonation?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
OPening of notedpad in QTP to write and execute the coding?
Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J
What’s the basic concept of QTP?