cancel
Showing results for 
Search instead for 
Did you mean: 

Font colors in Terminal emulator Green Screens

SOLVED
Highlighted
Occasional Contributor

Font colors in Terminal emulator Green Screens

We are automating the Web Based Termainal Emulator in IE,Edge  and Chrome browsers using test complete.

As it is a product based build testing would like to test the new Features such as color Mapping, Key mapping etc.

We are not able to verify the colors that have mapped to the text in the Terminal Emulator green screens. Kindly help us to resolve this issue in Testcomplete.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Font colurs in Terminal emulator Green Screens

Hi,

 

using HTML5 canvas

Unless Support provides you with a solution/workaround (which I would really appreciate if you share here), it is my opinion that end-to-end functional automation is barely possible for canvas. The only thing that you can try is to talk to Development and discuss what functions/data structures on the page can be called/examined to check this or that functionality. I.e. you might be able to reliably automate integration/grey-box tests, but not GUI-oriented functional tests from the end-user point of view.

 

Regards,
  /Alex [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
================================

View solution in original post

12 REPLIES 12
Highlighted
Community Hero

Re: Font colurs in Terminal emulator Green Screens

Are you able to see the text in Object Spy?  You should be able to find the color there.

Highlighted
Occasional Contributor

Re: Font colurs in Terminal emulator Green Screens

No. Im not able to even key in the values based on the row,column position in the green screen as its identified as a single object like Frame,Canvas.

Even I want a solution to automate the green screens without simply recording . If there is any click option works with row , column wise in green screen would be useful.

As my product is a web based terminal emulator need a solution to automate in a best way using Testcomplete.

Tags (1)
Highlighted
Community Hero

Re: Font colurs in Terminal emulator Green Screens

Recording is a useful tool to determine how TestComplete is actually looking at your application.  I wouldn't use it for the whole test but I frequently use it for beginning a framework.  Don't automatically discount it!

 

You might take a look at the Advanced options in the Object Spy for the frame and see if any of those values will let you drill down to the text.

 

Other than that, I suggest you contact Support directly with your question.  Here's the link:  https://support.smartbear.com/message/?prod=TestComplete

 

 

Highlighted
Occasional Contributor

Re: Font colurs in Terminal emulator Green Screens

Thanks for your reply. Yes I have tried using object spy ,it shows only as frame or canvas object. I couldnt see any other properties for it. Please let me know whether I want yo change the settings or other options. Also I tried OCR to input the values, but not much sure about the methods to use. If any method uses its row,column value of the screen will be much useful
Highlighted
Community Hero

Re: Font colurs in Terminal emulator Green Screens

As I said above, I suggest you contact Support directly with your question.  Here's the link:  https://support.smartbear.com/message/?prod=TestComplete

Highlighted
Occasional Contributor

Re: Font colurs in Terminal emulator Green Screens

Yes I have contacted them already. I'm waiting for their response .
Community Hero

Re: Font colurs in Terminal emulator Green Screens

Hi,

 

it shows only as frame or canvas object.

If emulator's green screen is displayed using canvas, then there is no way to automate it with regular means provided by TestComplete.

This is because everything on canvas is rendered via page scripting and does not provide any internal structure that can be processed by the browser/TestComplete.

 

I will really appreciate it if you let us know the solution suggested by Support (if any).

 

Regards,
  /Alex [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
================================
Highlighted
Occasional Contributor

Re: Font colurs in Terminal emulator Green Screens

Thank you for your response. I didn't get any solution yet also support team is also not providing any fruitful solution.

Feeling worse as I have tried as much I can 😞

Highlighted
Community Hero

Re: Font colurs in Terminal emulator Green Screens

Can you tell us more about the purpose of your testing?  Perhaps we can suggest a different approach.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors