Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Find method- Is it possible to define property to be different than a specific value

$
0
0

Hi,

 

I want to use the FindChild method but 1 of required properties is not known.

I only know that this property have to be greater than a specfic value.

For example, I want to use a script like this:

(jscript)

var x = <value>;

var PropArr = new Array("Visible",  "ScreenLeft");

var ValArr = new Array(true, !x);

var child = wnd.FindChild(PropArr, ValArr, 15);

 

As described I need to find the child that its ScreenLeft property is greater that x.

Currently, I don't get the expected child.

Can you help?

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles