Mobile Testing, Android App Testing.
-
Patrick Hollerbach
- Posts: 29
- Joined: Thu Jan 02, 2014 4:00 pm
- Location: Frankurt, Germany
Post
by Patrick Hollerbach » Thu Jun 29, 2017 7:41 am
Hi there,
we are testing an app which uses the "Alpha"-Property to hide / show some elements.
Is it possible to get the property with ranorex? I tried the following:
Code: Select all
float alpha = itemAdapter.GetAttributeValue<float>("Alpha");
but it doesn't work.
Any idea?
Thanks,
Patrick
-
Support Team
- Site Admin

- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Post
by Support Team » Fri Jun 30, 2017 9:37 pm
Hi Patrick,
Unfortunately I do not have an application that uses the alpha property available, but may I ask you if you tried the following method
Code: Select all
float alpha = (float) repo.App.Text.Element.InvokeAction("GetMember", "Alpha");
Regards,
Markus (S)
.

-
Patrick Hollerbach
- Posts: 29
- Joined: Thu Jan 02, 2014 4:00 pm
- Location: Frankurt, Germany
Post
by Patrick Hollerbach » Tue Jul 04, 2017 10:27 am
Hi Markus,
it's working! Thank you very much for your help.
best regards,
Patrick