Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
couldn't reconize the pop-up window
#1
Solved: 10 Years, 9 Months, 1 Week ago
hi,
I am executing a script that prepares a sale receipt and deletes at the end.When i click "delete" a pop-up displays "are you sure to delete? with buttons "OK" and "Cancel". Below is the code I got for this pop-up:

Code:
Browser("Sale").Dialog("Microsoft Internet Explorer").WinButton("OK").Click
During execution, I am getting error message on this line. Saying that the object is not identified.

Can you tell me the reason?

Thanks for your help
Reply
#2
Solved: 10 Years, 9 Months, 1 Week ago
hey qtpguru,
I observed that you are posting your queries into Posting Guidelines category. always decide the forum category relevant to your query and then post.

For your query
insert the blow statement in your script before the mentioned line and let us know what is the result
Code:
msgbox browser("Login").Dialog("Message from webpage").WinButton("OK").Exist

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SAP GUI gets hanged while closing the Windows Pop Up kathirvelnagaraj 0 5,333 10-23-2015, 06:47 PM
Last Post: kathirvelnagaraj
Rolleyes QTP pop up window handling piyush8793 3 16,442 10-15-2015, 11:03 PM
Last Post: Venkateswarluponna
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 10,700 07-09-2014, 10:43 PM
Last Post: hhamilton
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,448 06-05-2014, 08:18 PM
Last Post: sbkhbk
  select a date from pop-up calendar Dertjon 1 5,594 05-13-2014, 02:29 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)