WinButton Object not support run time object properties - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: WinButton Object not support run time object properties (/Thread-WinButton-Object-not-support-run-time-object-properties) |
WinButton Object not support run time object properties - Akhila - 05-27-2008 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 RE: WinButton Object not support run time object properties - Anshoo Arora - 06-03-2008 See what result you get from this: Code: MsgBox Browser("micclass:=Browser").Dialog("micclass:=Dialog").WinButton("text:=OK").Exist |