Forum Discussion

ḥari's avatar
ḥari
Frequent Contributor
2 years ago

Identify web elements

Hi 

 

To identify a web element in test complete 

we can use these different locators like ID,Name,ClasName,TagName,Linktext 

Is there any methods available to access these locators directly FindByID like that??

 

Let me know the methods if there in TC!!

 

Thanks!

4 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Here's an example of using Find method, where idStr is equal to myHeader.

     

    You can also include, multiple properties in the Find method too.

     

    Does this not help?

    • ḥari's avatar
      ḥari
      Frequent Contributor

      Yeah rraghvani. I already go through this document.

      what is my exact question is like in selenium we have FindBy ID,ClassName, TagName 

      like we have in TC or not???

      In that document we have findelement, findelements,findchild 

      We can't access directly by id,name