Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WinButton Object not support run time object properties
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hi,

I created a script on deleting some records by clicking on "Delete" button, when I click on delete I get a warning message saying "Are you sure you want to delete? with two buttons OK & CANCEL on it"
I clicked on OK button.

But when I run the script it throwing warning message about OK button saying "Object not visible"
I made the visible property mandatory for OK button still giving error
When I did Object spy on OK button I found from spy window that "WinButton objects do not support run time object properties"

Does it creating the problem in my case?
If it won't support run time object properties Can I use DP/VB script for clicking on OK button?

There are many similar actions in my script, can you please help which command I need to use and how to use it?

Thanks,
Akhila
Reply
#2
Solved: 10 Years, 9 Months, 1 Week ago
See what result you get from this:

Code:
MsgBox Browser("micclass:=Browser").Dialog("micclass:=Dialog").WinButton("text:=OK").Exist
MsgBox Browser("micclass:=Browser").Dialog("micclass:=Dialog").WinButton("regexpwndtitle:=OK").Exist
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  swfwindow object name getting changed after each run saniya 1 1,486 10-10-2018, 09:02 PM
Last Post: TheGlovner
  Object identification is taking too much time JACKSPARROW 0 1,592 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 3,172 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  Winbutton slow in clicking kpat 0 1,677 05-23-2016, 12:09 PM
Last Post: kpat
  verify that parent properties match object currently displayed in your application. sona 0 2,943 02-21-2016, 12:00 PM
Last Post: sona

Forum Jump:


Users browsing this thread: 1 Guest(s)