Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java Popup Focus Lost
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Please try the below code
Code:
Setting.WebPackage("ReplayType") = 2 ' This lines changes the run mode as Analog
JavaWindow("ldnGUI").JavaTab("TdiGroup").FireEvent "onclick",10,10,micRightBtn
wait(2)
Set WshShell = CreateObject("WScript.Shell")
itemIndex=5<Please change this>  'index of the close item

For i = 1 To itemIndex
WshShell.sendkeys "{DOWN}" 'Navigate to the option
Next
WshShell.sendkeys "{ENTER}"
Set WshSEll = nothing
Reply


Messages In This Thread
Java Popup Focus Lost - by davey2582 - 12-29-2011, 05:22 PM
RE: Java Popup Focus Lost - by ravi.gajul - 12-30-2011, 01:06 PM
RE: Java Popup Focus Lost - by davey2582 - 01-03-2012, 07:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not able to recognize Java Script Popup rakeesh_28 1 2,804 06-26-2012, 12:15 PM
Last Post: vibhakhandelwal
  How to chek focus..Need Help... souvikghosh_diatm 7 8,546 04-03-2012, 03:36 PM
Last Post: rajasekhar
  Capturing PopUp link siwani 0 2,442 06-10-2011, 03:16 AM
Last Post: siwani
Sad How to set focus or click on the center of webpage? brar.arsh 5 11,712 05-26-2011, 02:26 PM
Last Post: souvikghosh_diatm
  Popup page not recognized wheelercha 3 3,074 08-28-2010, 12:27 AM
Last Post: appsved

Forum Jump:


Users browsing this thread: 1 Guest(s)