tmahender12
10 years agoFrequent Contributor
validate text
i have dialog pop up, i need verify wether ""üncategorised"is displayed or not? in the popup can u please help how to write code attached screenshot
Extract the text caption from the Dialog box. Use some form of "instring" to determine if the captured text contains the values you want.
Can't be any more specific than that as you don't say which language you're using. Although, if you don't want to use commands native to the scripting language you are using, TestComplete has built in commands for doing this.
https://support.smartbear.com/viewarticle/71913/
But I routinely capture Dialog texts all the time. It's fairly straightforward.