Ask a Question

Handling print dialog box using Testcomplete

Bronson
New Contributor

Handling print dialog box using Testcomplete

Hello Everyone,

I have a testcase where I am asked to print a particular data, for which I clicked on print icon and print dialog box appears.

However, I am unable to access the print window and do any actions on this page.

Error message : "cannot highlight this object in the object tree" and object browser does not show any active elements.

 

It would be great if someone could share some ideas on handling this testcase.

 

3 REPLIES 3
Marsha_R
Community Hero

Re: Handling print dialog box using Testcomplete

What version of TestComplete are you using and what browser(s)?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
ebarbera
Staff

Re: Handling print dialog box using Testcomplete

@Bronson 

 

For this issue I would suggest making use of our "Optical Character Recognition" since you are unable to access the print dialog box. 

 

Another approach would be to send keyboard commands to the print dialog window. 

 

Let me know if you have further questions. 

 

Emma

 

 

sonya_m
Community Manager

Re: Handling print dialog box using Testcomplete

Thank you Marsha and Emma!

 

@Bronson please mark the best reply as a solution to help community members in the future!


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: