简体   繁体   中英

testing dynamic android ui with robotium

I will have a ui which has buttons dynamically added to it. In order to test this I want to use robotum. I have two options on how to build the ui, using activities or using fragments. The latter seems to be a better option for my situation but I read that robotium does not support fragments. Is there any other option I could consider or am I incorrect in saying robotium does not support fragments

Robotium does support fragments. In 3.4.1 there are even fragment specific methods like waitForFragmentById() etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM