Posts: 50
Threads: 24
Joined: Jan 2008
Reputation:
0
01-30-2008, 09:55 AM
Hi Ankur,
I am regular visitor of your blog, its helping me a lot in learing QTP.
Thanks for creating such a nice blog.
I recorded a small script on deleting an Employee record.
When I tried to delete, it throughs a message saying "Are you sure to delete this data?", then I clicked on OK button.
But while running the script its not performing action on OK button, I am getting Run Error as follows:
<<<
Run Error Object not visible
Line (140): "Browser("ABC.com").Dialog("Windows Internet Explorer").WinButton("OK").Click".
>>>
I checked that Objects's physical description is correct.
Can you please help me in correcting this error.
Thanks,
Akhila
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
01-30-2008, 10:56 AM
In "Browser("ABC.com")" include the visible property as mandatory property and then record the sequence.
Posts: 50
Threads: 24
Joined: Jan 2008
Reputation:
0
02-05-2008, 04:24 AM
(This post was last modified: 02-05-2008, 06:05 AM by Akhila.)
Its working fine. Thanks Ankur
I have a doubt, actually I have not found visible property for the "Browser("ABC.com")", so in Object Repository for OK button I added visible property to object details window then marked it as mandatory property. Then script run was successful. Is it correct process?
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
02-05-2008, 11:09 AM
Exactly, that's what I meant... good that you worked on your own and arrived at the solution.
Posts: 2
Threads: 0
Joined: Jun 2008
Reputation:
0
06-13-2008, 01:09 AM
Hi Ankur,
I have a similar issue and added Visible = True to Browser as well as on button. But still Its not clicking the ok button.
Where as when I give Browser("Browser_2").Dialog("Microsoft Internet Explorer").WinButton("OK").highlight it highlights the ok button but it does not click.
Please let me know what mistake I am doing.
Posts: 2
Threads: 0
Joined: Jun 2008
Reputation:
0
06-13-2008, 01:31 AM
Forgot to mention before. I get following error.
Cannot identify the object "OK" (of class WinButton). Verify that this object's properties match an object currently displayed in your application.
Line (147): "Browser("Browser_2").Dialog("Microsoft Internet Explorer").WinButton("OK").Click".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.
Posts: 3
Threads: 0
Joined: Apr 2010
Reputation:
0
04-13-2010, 01:53 PM
I am beginning to suspect that I am not able to Add/Remove the Mandatory Properties in Flex environtment could be due to the fact that I used Flex Builder 3 trail Version plug-in for QTP ?
Posts: 34
Threads: 2
Joined: Sep 2009
Reputation:
0
07-10-2010, 12:31 PM
Hi Peterlck,
It will take some time to load that object.. put some wait,it will solve your problem.