Forum Discussion
Moulya_p
Occasional Contributor
The text is just a string with more than 50 characters. I am passing this string to the textbox using the Keys method. After adding this text, I am checking in the panel where it is displayed, whether the text is word wrapped ot not.
var str = "Any string which is more than 50 characters"
var textArea = obj.FindChild(["ObjectType", "className"], ["Textarea", "noteText"], 5);
textArea.Keys(str);
//Click on Add button to add the text
var textPanel = obj.FindChild("ObjectType", "className"], ["Panel", "card-text"], 5);
var bool = textPanel.WordWrap;
I am very new to TestComplete, so I don't know if my approach is right or not. I would really appreciate if you could provide me your inputs.
tristaanogre
7 years agoEsteemed Contributor
What is the error message you're getting?
- Moulya_p7 years agoOccasional Contributor
Related Content
- 4 years ago
- 3 years ago
- 5 years ago
- 4 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago