Ask a Question

Mobile testing - VisibleOnScreen property

SOLVED
artw
New Contributor

Mobile testing - VisibleOnScreen property

Hello,

I am still new to the TestComplete. I'm in a process of scripting a test for our mobile application and it's been working relatively well up to this point. I am stuck on one of the screens of our application where there are several checkboxes and some of them need to be selected. All of them are mapped and show as mapped when I use the object spy. The checkboxes also show the VisibleOnScreen property as true in the object spy, but when I run the script and check the value of the VisibleOnScreen for the same elements the property is set to false. I cant click()/touch() them. 

I had this working on another screen with checkboxes without any issues. For what it's worth the checkboxes seem to be reused on more than one screen (based on the mapped name). They work on one screen but not the other. Any ideas? 

 

Artur W

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
mattb
Staff

Re: Mobile testing - VisibleOnScreen property

I assume the parent/page level is dynamic if the objects are recognized the same and inconsistently.

Where the dynamic element occurs, I would use a wildcarded value. This can be added to the object or the ProcessName.

https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html

 

 

View solution in original post

3 REPLIES 3
mattb
Staff

Re: Mobile testing - VisibleOnScreen property

Hi 

What version of TestComplete are you using?

We could try and wildcard the page level to account for any dynamic processes 

artw
New Contributor

Re: Mobile testing - VisibleOnScreen property

I'm using version 15.0.379.7

mattb
Staff

Re: Mobile testing - VisibleOnScreen property

I assume the parent/page level is dynamic if the objects are recognized the same and inconsistently.

Where the dynamic element occurs, I would use a wildcarded value. This can be added to the object or the ProcessName.

https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html

 

 

cancel
Showing results for 
Search instead for 
Did you mean: