Comments (4)
Hi,
I tried it out and it works just as expected--thanks! Very helpful.
from katalon-mobile-util.
Hi @scsmith5593 ,
Thanks for reaching out!
The apps I've been testing have the labels as text, instead of images, so when the library looks for labels, it's assuming text.
We should be able to add functionality to look at the element type when an existing Test Object is provided.
from katalon-mobile-util.
Hi, Chris,
Got it. I thought that might be the case. Thanks.
from katalon-mobile-util.
Hi @scsmith5593 ,
If you want to check out version 1.13.0, I think it will address the issue you saw with finding image elements at an index: https://github.com/detroit-labs/katalon-mobile-util/releases/tag/1.13.0
https://github.com/detroit-labs/katalon-mobile-util#finding-an-element-from-a-list-by-index
Specifically, now you would use something like this:
import com.detroitlabs.katalonmobileutil.testobject.TestObjectType
int index = 3 // first element in the list is at index 1, so this gets the 3rd element
TestObject imageAtIndex = Finder.findElementAtIndex(TestObjectType.IMAGE, 'Generic image element', index)
Please let me know if you have any issues getting this to work for your situation.
from katalon-mobile-util.
Related Issues (20)
- Add a way to better handle push notifications
- Unable to import com.detroitlabs.katalonmobileutil.testobject.Finder HOT 2
- Implement scrolling a drop-down list to a specific index for Android
- Add element color detection
- Add sample iOS and Android apps and test cases using the library
- Add convenience method(s) for editing system settings
- JAR file does not contain latest Scroll&Swipe update HOT 1
- Scroll covers too small area (half a screen) HOT 4
- Unable to remove app before test HOT 6
- Handle One-time Passwords (OTP)
- Handle tapping of buttons in WebViews
- Closing keyboard doesn't account for multiple "Done" buttons
- Control scroll direction for scrollListToElementWithText
- Add application back button handling for iOS
- Update handling of submit buttons on iOS keyboards
- NoSuchMethodError being thrown for ScrollListToElementWithText in Katalon 7.0.8 HOT 2
- Add convenience option to press Home button
- Scroll doesn't seem to work on Android 10 devices HOT 14
- Textfield.typeText occasionally inputs wrong value HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from katalon-mobile-util.