cancel
Showing results for 
Search instead for 
Did you mean: 

How to distinguish textbox, comboBox or calendar after using Find menthod

Occasional Contributor

How to distinguish textbox, comboBox or calendar after using Find menthod

After i used ["NativeWebObject"]["Find"] to find and result is a object (or null), i need to distinguish that object is textbox , combobox or calendar.



Please help me in this case.



Thanks and best regards

Hao Nguyen,
The word is not enough
2 REPLIES 2
Community Manager

RE: How to distinguish textbox, comboBox or calendar after using Find menthod


Hi Hao,


 


There should be a property that you can use to distinguish among the found objects, for example ObjectType. Try to find the needed one by exploring objects in the Object Browser.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Occasional Contributor

RE: How to distinguish textbox, comboBox or calendar after using Find menthod

What an interesting question, which I never considered before. I thought I was familiar with the combobox control and calendar control, but I always in error in some detailed space. This question is insightful and the fine answer here do great helps.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors