Forum Discussion

ashok_natar's avatar
ashok_natar
Occasional Contributor
11 years ago
Solved

CSS with TestComplete

Hi All,  I am new to web+testcomplete, and here i am trying to use css selector!!! and failed to use it just because of syntax issues, tried debug myself with help of forums but no luck!!  ...
  • ashok_natar's avatar
    11 years ago
    Thanks all for your supports!!! 



    I have found the solution



    css seletor 

    ["QuerySelector"]("INPUT[id='ctl00_MainContent_username']")["Keys"]("test");



    xpath

    ["FindChildByXPath"]("//INPUT[@id='ctl00_MainContent_username']", true);