cancel
Showing results for 
Search instead for 
Did you mean: 

Checking On Screen Objects

SOLVED
LuciRUoc
Occasional 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?

1 ACCEPTED SOLUTION

Accepted Solutions
vinniew
Staff

Re: Checking On Screen Objects

Hi @LuciRUoc 

 

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

View solution in original post

2 REPLIES 2
vinniew
Staff

Re: Checking On Screen Objects

Hi @LuciRUoc 

 

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

View solution in original post

A_Roskoshnyi
Contributor

Re: Checking On Screen Objects

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.

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