Forum Discussion
- Marsha_RModerator
You tagged this with Object Recognition. Did you try to record this and TC didn't find the button? Tell us what exactly you tried and what happened and we can try to help. Screenshots are useful too.
- sudam_evonsysOccasional Contributor
Thanks Marsha_R and rraghvani for replying.
Yes, I have tried with recording steps to click on the button on given outlook email.
However captured element working only for someitme only. after that I need to re-capture same element.
I need to click on "Review Document" button on this email.
Captured Name Mapping as below.
- Marsha_RModerator
I would guess that what is happening is that the page name (here it is page32770) is changing sometimes when the page is loaded.
Take a look at this information about wildcards. Using a wildcard with a suitable string will allow the field to be found even if part of its name changes. Try it out and let us know what happens.
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html
- sudam_evonsysOccasional Contributor
Hi Marsha_R ,
I have tried after passing wild-card to page32770 and then the tool cannot find particular button and not peforming the click event. but when it was highlighted when I was trying to identify with the Highlight option in the tool
- sudam_evonsysOccasional Contributor
Hi rraghvani
Thanks for reply. I have added wildcards for appropriately for possible mapped objects and only remaining below 'panelDocumet' (which showing as panelDocument1,panelDocument12,panelDocument2) and it's sub elements. In that panelDocument also I tried to adding wildcards as below and still i'm not able to add wildCards for panelMessage which has "Message" as Caption. please refer the below screens.
panelDocument12 > added wildcard as below.
for panelMessage not way to add wildCards. it attribute showing as below.
Thanks
- sudam_evonsysOccasional Contributor
Can anyone support on this?
- rraghvaniChampion Level 3
Note, "Also, Outlook interprets the email, so that it can be easily read by the user. The button you see, may not be an actual button. Hence, TC may not identify it as a button."
TC is able to identify most objects in Outlook, but that particular object Panel("Message") it's not able to identify the objects within. The message is MHT (Multipurpose Internet Mail Extension HTML) which is translated by Outlook, which TC can not read.
Related Content
- 17 days ago
- 2 years ago
Recent Discussions
- 57 minutes ago
- 60 minutes ago