Forum Discussion
Hello Pradeep
I am not sure if you tried this but I think you would be able to capture the object and look into properties using 'Point And Fix' option of Object Spy. I would suggest you to open Object spy first and activate 'Point And Fix'. Then perform the action that generates the popup message box in your application. Now you should be able to point on the popup window and Click (Shift+Cntrl+A) and have an access to its properties and Text associated to it. I hope this works for you.
Hi Vivek,
Many thanks for your reply on the following thread . We tried the way you advised and could get the properties of the text box. Next thing we would like to know is how to turn that into a checkpoint.
Please find attached the following for your perusal:
1. Test log (Log is not showing any details associated with message box)
2. Object hirearchy of AUT
Request you to kindly help us on this.
- Vivek729 years agoContributor
Hello Pradeep
It will be difficult to tell you without knowing what kind of properties that identified object (WPFObject("barManager")) is holding. It would have been helpful if provided with advanced properties of that WPFObject("barManager") and its Child Objects if any.
Based on understanding of your requirement, if you just want to capture the popup and check if its text matches to your expected text. I would recommend you to customize your checkpoint according to your script using className, ObjectIdentifier or ObjectType properties of the popup Object you identified. Assign those properties to 'Find' method and using 'contentText' or 'textContent' or 'Value' you can compare the generated textvalue against the textvalue you are expecting.
Regards
Related Content
Recent Discussions
- 35 minutes agosimonaferrara
- 41 minutes agoAli2