Ask a Question

Checking On Screen Objects

SOLVED
LRuoc
Contributor

Checking On Screen Objects

Hello

 

Is it possible for Test Complete to extract data from a screen to be used further into a script?

 

I am using an application that displays a list. I want to be able to extrac that list then use it for checking against a parameter.

 

Is this possible?

2 REPLIES 2
vinniew
Staff

Hi @LRuoc 

 

Yes indeed it is, we can store values on screen as a variable. 

 

This would involve setting a value as a variable. 

 

See 

 

https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/statements/set-variable-va...

 

From there then you can call that variable later in the same test or in another test. 

 

See 

 

https://support.smartbear.com/testcomplete/docs/testing-with/variables/index.html

 

KR 

 

Vinnie

A_Roskoshnyi
Contributor

If you have intelligent quality add-on for Testcomplete is easy to use OCR-Action to convert any screen object to a one string. So you can present this string as an array of arguments (substrings) for subsequent tests.

cancel
Showing results for 
Search instead for 
Did you mean: