Dhana
14 years agoContributor
Handle Property
Hi, a small query regarding Handle property.
I have an function to test the Save and Copy function, which get copies to Paint. Now, when i play back my script, it runs fine and even the Region checkpoint shows me pass but the TestLog displays an error message, which was
" Cannot obtain the rectangle of the window with handle 4132200 ",
When I checked, the Handle property which contains interger, displays random numbers when each time Paint has been opened freshly and results in the above error.
Would anyone say me how to avoid this Handle property to have my script to show green result.
Thanks.
I have an function to test the Save and Copy function, which get copies to Paint. Now, when i play back my script, it runs fine and even the Region checkpoint shows me pass but the TestLog displays an error message, which was
" Cannot obtain the rectangle of the window with handle 4132200 ",
When I checked, the Handle property which contains interger, displays random numbers when each time Paint has been opened freshly and results in the above error.
Would anyone say me how to avoid this Handle property to have my script to show green result.
Thanks.