alttester / alttester/AltTester-Unity-SDK

[To investigate] Text not set using SetText/SetComponentProperty for dynamic/changing text

Aberta
#1,213 2 comentários 1 reação 0 responsáveis Ver no GitHub
bug investigate no version triaged
Linguagem predominante
C#
Estrelas
121
Forks
24
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**In what language is the test written?**
C#

**What version of AltTester Unity SDK are you using?**
1.8.0, 1.8.2

**The OS from where you are running the test?**
Windows

### Summary

SetText method and SetComponentProperty doesn`t set new text for dynamically populated texts i.e. text that changes throughout the game, such as countdowns, distance measurements, score multiplier.

### Steps to reproduce

1. Open a game that has text with changing content - e.g. TrashCat.
2. Connect AltTester Desktop to the game.
3. Identify in the running game the elements containing changing text - for TrashCat there is MultiplierText and DistanceText.
4. While writing a test try to modify the values for these fields by using one of the methods : SetText and SetComponentProperty on these elements.
5. Get the value modified in the previous step using GetText on the same element.
6. Compare the value set in step 4 and the one returned in step 5.

### Result

The values compared are not the same, as if the text is not correctly set.
There are no relevant logs, stating that something went wrong.

The value for DistanceText is changing fast, but the value of MultiplierText doesn`t change that quickly.

### Notes

The issue can be reproduced for CoinsCollector example, for the text field TimeCounterText
![TimeCounterCoinCollector](https://user-images.githubusercontent.com/126661357/233007674-9cc3fe97-2732-4200-abfa-433232e59912.png)

### Relevant logs and/or screenshots

![DistanceTextTrashCat](https://user-images.githubusercontent.com/126661357/233011959-cbdec9d3-7b87-4a7b-af54-3c636f2d18d3.png)

![SetMultiplierText](https://user-images.githubusercontent.com/126661357/233011991-748ad608-5c1d-4460-82d0-3c358ce98129.png)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.