Forum Discussion
TanyaYatskovska
SmartBear Alumni (Retired)
Hi,
You may create a Property checkpoint for the wText property and set the comparison condition to Contains. Another way is to write your own comparison in one of script languages.
praneshm
9 years agoNew Contributor
Use the .TEXTCONTENT property to fetch the value of the Object, say a textbox or a label or any object of your interest(if applicable)
- praneshm9 years agoNew Contributor
Use the below code to read from the entire text file;
Sub TextfileRead
Dim tobj, FSO
Set FSO = CreateObject("Scripting.FileSystemObject")
Set tobj = FSO.OpenTextFile("C:\SampleText.txt",1)
Do Until tobj.AtEndOfStream
content = tobj.Readline
Msgbox content
Loop
Set tobj = Nothing
Set FSO = Nothing
End Sub
Related Content
- 11 months agoRocket