Forum Discussion

tiffany_ip's avatar
tiffany_ip
Occasional Contributor
13 years ago

A way to set VisibleOnScreen property state to TRUE

Hello,



Environment: Windows 7, Java 7, TestComplete 9



I'm testing on a Java based application, so I have a JList that is clearly visible from the application, these are its properties:



Enabled: TRUE

Exists: TRUE

Visible: TRUE

VisibleOnScreen: FALSE  ( I can still see it)

wFocus: 0



So if I want to declare a variable like this:



var list = javaeditpane.LevelList;



--> it would give me an error that it is not found. (Object not found).



The only way that the VisibleOnScreen would change to TRUE as property is if I click on that list (it's empty).



Unfortunately I can't click on it to "focus" if I can't find it... :(



Is there a way to get the list to be VisibleOnScreen to true? Or some workaround to ignore that property?



Thanks!