Forum Discussion
Hi,
> .FindAllChildren(" "," ",7)
The above line of code says: "Find all children up to the depth of 7 that have property with the name <one space> and the value of this property equals to <one space>".
I bet no such object exists in your application.
If you like to get all children up to level 7, then provide a property that exists for any object and indicate that it may have any value. E.g.: .FindAllChildren("name","*",7)
If you like to get just input fields, the code might be like this: .FindAllChildren("input field name","*",7)
Thanks Alex!
Hi TestQA1 , I see that you replied straight to the email notification, this way your reply won't be posted to the community.
Let me quote it for this time, please reply inside the community in the future, thank you!
Here's your reply:
>>
Hi,
- AlexKaras4 years agoChampion Level 3
sonya_m :
Sonya, thank you for reposting the reply.
TestQA1 :
> What I'm trying to do is to get all children
And ?
- TestQA14 years agoFrequent Contributor
Hi Alex,
The swing desktop app has a login page with a login dialog on it. I have been trying to first get all the child/grand child objects on the dialog and then want to perform operation on those grand child objects using index.
Javafullclassname property is there for username and password fields. But, I am not able to fetch these two objects.
Thank you.
- AlexKaras4 years agoChampion Level 3
Hi,
> I am not able to fetch these two objects.
Any more details? Your code? Error message? What line of code throws the error? Screenshot of Object Browser with one or both objects that you'd like to find? Anything else that can help others to understand what you have tried and what exactly does not work for you?
Related Content
- 8 years ago
- 12 years ago
Recent Discussions
- 5 hours ago
- 6 days ago
- 10 days ago