GetTextLocation does not find some text with Infra
I am using QTP 10.0 with .NET add-in loaded
My AUT is a .NET based windows application that incorporates controls from third party like “Infragistics” and” SyncFusion”
Now there is tab control made from Infragistcs NET advantage in application
I have been using QTP's “GetTextLocaion” method and “GetVisibleText” methods to fight against these third part controls
I am aware of Third party QTP add-ins provided by both Infragistcs and SyncFusion”
But I could not use Infragistcs due to version mismatch my AUT has older version of NET advantage and QTP's TEST advantage add-in was for latest version.
Coming to problem, In the tab strip there are only 4 tabs QTP's “GetTextLocaion” methods gives me coordinates for 3 tab text but does not give me coordinate for one text in tab all texts are visible and unique too Please find the attached image showing Tab control of “Infragistics”
Could anyone suggest If this can be considered as bug with gettextlocation method? I have been advised that this method's behavior varies on some mystery conditions and this method is unreliable.
If this method is unreliable, why does QTP even supports it? (Also its sibling method "GetVisibleText" Could some one suggest any workarounds?)