Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Click on Excel Dialog
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hello,
I am opening an excel and changing a value. When I change the value I get a dialog box(based on validations)

Code
Code:
Set objWorksheet1 = objWorkbook.Worksheets(2)
objWorksheet1.Cells(3,2) = "Oak"
Window("BM_269.xlsm").Dialog("Microsoft Excel").WinButton("OK").Click

The dialog box has focus but QTP is unable to click on the OK button. It doesn’t know the dialog exists. After I click OK manually everything runs fine.

Any suggestions?

Thanks,
Raj


Attached Files Image(s)
   
Reply


Messages In This Thread
Unable to Click on Excel Dialog - by Raj20091 - 10-17-2009, 03:08 AM
RE: Unable to Click on Excel Dialog - by Raj20091 - 10-19-2009, 07:58 PM
RE: Unable to Click on Excel Dialog - by Raj20091 - 10-20-2009, 07:38 PM
RE: Unable to Click on Excel Dialog - by berula - 03-15-2011, 06:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how can i click a macro button in excel using vbscript arpan 1 3,743 10-03-2017, 06:27 AM
Last Post: supputuri
  Unable to click on the WebButton with specified Index srach84 2 4,291 03-31-2015, 04:36 AM
Last Post: srach84
  Unable to click on WebButton in WebTable srach84 1 3,102 02-09-2015, 09:07 PM
Last Post: arpan
  Unable to click on moving text in a website Akhila 4 4,010 07-18-2013, 02:38 PM
Last Post: tanyamrz
  unable to click webelement by holding shift key tanyamrz 1 3,510 09-14-2012, 05:21 AM
Last Post: kcn

Forum Jump:


Users browsing this thread: 2 Guest(s)