vikram_u_k
7 years agoContributor
Android FindAll JScript Example
Hi We are using TC12 I am aware of the FindAllChildren example for searching objects
var arr = Sys.Process("calc").FindAllChildren("wChecked", true, 4).toArray();
Could someone help with an example to get the list of all TextView Objects instead of Buttons as in the Example>
Current Layout we have
Device = Mobile.Device("Mobile").Process("com.test.myapp")
VitalBlock = RootLayout.Layout("maincontainer").Layout("layout").Layout("NO_ID")
LabelArea = VitalBlock.Layout("leftcontainer").Layout("top_container")
SpecificLabel = LabelArea.TextView("item1")
Could someone explain how to get the List of all SpecificLabels in this layout.
TestObj.FindAll(PropNames, PropValues, Depth, Refresh)
Could someone clarify the type of PropValues and PropNames?