Forum Discussion
altus_nel
12 years agoContributor
Hi there, You may want to have a look at the android dev pages for support on this (and apple)...
For example, the TextView object exposes 2 methods that you can use namely getCurrentTextColor and getTextSize
It's dependent on the object if it exposes the property and if it does... you can access it in TestComplete.
Something like:
//JScript
var x = Aliases.Device.process.RootLayout.View("md__drawer").
Layout("md__menu").ScrollView("menu_scrollview").Layout("wonder", 2).
GridView("gridview").Layout("options_frame").Layout("llView").
TextView("options_label");
BuiltIn.ShowMessage(x.getCurrentTextColor());
BuiltIn.ShowMessage(x.getTextSize());
For example, the TextView object exposes 2 methods that you can use namely getCurrentTextColor and getTextSize
It's dependent on the object if it exposes the property and if it does... you can access it in TestComplete.
Something like:
//JScript
var x = Aliases.Device.process.RootLayout.View("md__drawer").
Layout("md__menu").ScrollView("menu_scrollview").Layout("wonder", 2).
GridView("gridview").Layout("options_frame").Layout("llView").
TextView("options_label");
BuiltIn.ShowMessage(x.getCurrentTextColor());
BuiltIn.ShowMessage(x.getTextSize());