acm
8 years agoContributor
Run Code Snippet with QuerySelector & Click method embedded
Hello, How do I accomplish this for a Keyword Test? The link that needs to be clicked is of class "i.arrow-top". (See image attached). Because the Object Spy cannot successfully identify t...
- 8 years ago
Hi Arlene,
> Aliases.browser.pageIsmadsMyDashboard2.QuerySelector("i.arrow-top").Click();
I think this should work.
https://community.smartbear.com/t5/TestComplete-Functional-Web/how-Can-i-get-the-gylphicon-class-element-which-I-am-not-able-to/m-p/142393#M29822 and reply from Amey should explain what's going on in your case.
> the entire browser window is highlighted
Most probably, this is because your browser is not supported by your version of TestComplete. Visit https://support.smartbear.com/downloads/testcomplete/firefox-patches/ and/or https://support.smartbear.com/downloads/testcomplete/chrome-patches/ to check if the patch for the version of your browser and TestComplete exists and install it if it does.