AltTester Unity SDK is an open-source UI driven test automation tool that helps you find objects in your game and interacts with them using tests written in C#, Python, Robot or Java.
What version of AltTester Unity SDK are you using?
(2.0.2)
On what device are you trying to run the test?
(Android, iOS)
The OS from where you are running the test?
(macOS)
Summary
When we try to get text from any input field/text area of buttons, we are not getting the text from that command. It gives an exception.
{NotFoundException}NotFoundException('Object reference not set to an instance of an object.')
@Mayur5712 does the find_object command return an object? I think the problem is before trying to get_text. Can you add the log file generated when you are running a test?
In what language is the test written? (Python 3)
What version of Unity are you using? (2022.3.7f1)
What version of AltTester Unity SDK are you using? (2.0.2)
On what device are you trying to run the test? (Android, iOS)
The OS from where you are running the test? (macOS)
Summary
When we try to get text from any input field/text area of buttons, we are not getting the text from that command. It gives an exception. {NotFoundException}NotFoundException('Object reference not set to an instance of an object.')
Steps to reproduce
Relevant logs and/or screenshots