Forum Discussion
TanyaYatskovska
Alumni
12 years agoHi Mike,
You could use TestComplete's QuerySelector method to find the needed object by its CSS attributes. For example:
//JScript
CSSSelector = "div#main-nav a[target=blank]";
res=TestedPage.QuerySelector(CSSSelector);
This article contains additional information you may need:
Does it help?
You could use TestComplete's QuerySelector method to find the needed object by its CSS attributes. For example:
//JScript
CSSSelector = "div#main-nav a[target=blank]";
res=TestedPage.QuerySelector(CSSSelector);
This article contains additional information you may need:
Does it help?