Forum Discussion

mikej411's avatar
mikej411
Occasional Contributor
10 years ago

QuerySelector() method is not in my project. How do I get it?

Hello my company is using TestComplete. I recently started automating Web apps. Up until now, I used the Object Spy to map all elements on a web page. I need to use a CSS selector. I have tried to ac...
  • mikej411's avatar
    mikej411
    10 years ago

    Never mind. I have found the answer. It just didnt like when I used a nameMapping object as the prefix. For example

     

    webPagePage = Aliases.iexplore.IELOA

    IELOA.QuerySelector()

     

    Instead I had to use an object on the page first.

     

    I dont know why though