Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi Murali,
I am not sure that I understand correctly what you want to do. If you need to just click the text found by TestComplete as a TextObject object, you can just click this object as in the script you posted: TextObject("sample", 3).DblClick(). All the parameters of the DblClick method are optional and if you omit them, TestComplete will click to the central point of the object.
The only thing am stuck up with is the tree structure. I cant able to find the symbol using the TextObject, i know Obviously it wont find. Is there any thing i can do to press that button without using the co-ordinates ?
TestComplete shows a Code Completion window if it can parse the script, get the full name of the actual object and if this object exists or the Code Completion information on this object is saved in the Name Mapping file. Most probably, if the Code Completion window is not invoked in your case, TestComplete just cannot get the full name of the object you are working with.
And one more thing ,the auto code complete option is not coming some times , may i know that why?
Related Content
- 8 years agoschwarz
- 12 months agoSiKing
- 2 months agoNicolaFilosa_SE
- 2 years agoMdar
Recent Discussions
- 5 minutes agosimonaferrara
- 10 hours agoSubhraDas
- 2 days agotramuntana