Forum Discussion

Hanila's avatar
Hanila
New Contributor
6 days ago

Andriod Mobile app built on flutter automation using test complete

Hi,

Has any one used testcomplete to automate mobile apps built on flutter? If so, how did you manage to locate the elements?

  • Yes, I've used TestComplete to automate mobile apps built on Flutter. To locate elements in Flutter apps, I used the Object Browser in TestComplete, which allows you to map and store UI elements. You can also use Record & Replay to capture user actions and generate scripts. For more complex scenarios, writing custom scripts in JavaScript or Python can provide greater flexibility.

    • Hanila's avatar
      Hanila
      New Contributor

       

       

      Hi Norma44shah,

      Thanks a lot for the reply. The issue I am facing is with uniquely identifying the elements. My dev has assigned a KEY  value to it. However, testcomplete did not recognise the fields. For example, my username and password field details are like below: 

      EditText(1) is assigned to the Username, and EditText(2) is for the password, and testcomplete fails to recognise these fields consistently. 

      UserNamePassword

      Attached is my dev's change, which did not produce the desired results. Could you give me some light on how you arranged your UI elements for the app to recognise?