I have an issue with Span controls .
Pls refer to the code ;
Dim myspan As THTMLSpan
Set myspan = HTMLSpan("ID='' Index=6")
Acc to this code i want Tp to click the span where index value is 6 ,but it doesn't.
In my application ,there are several HTML Spans listed as a row .Each time an iteration goes by row gets increased , changes dynamically .In this manner i want TP to always click Span 2 .Is it possible ?
Re: HTML Span
If you need to click an HTMLSpan by using the index property why aren't you just doing:
Additionally if there is an "InnerText" property it would probably be better to use this instead of Index=6 or ID='' as it will be more reliable in a web app.