Clicking a span button
Hi, I have a span button on the webpage with this code <span class="ui-autocomplete-icon searchmode" id="Schedule-00-Row471b178a-49c2-499d-828e-f0cac7690899E-Icon"></span> I use this Javascript code in TC to point to that span button Page = Sys.Browser('*').Page("www.myweb.com"); var button = page.QuerySelector("span.searchmode"); Var button successfully find that span button. But when I do this button.ClickButton(); or button.Click(); TC complains that TypeError button.ClickButton is not a function or TypeError button.Click is not a function wondering why TC cannot click that button:mansad: Thanks.2.3KViews0likes3Comments