Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all articles
Browse latest Browse all 1653

Multiline text validaion

$
0
0
Hi All,
i have a scenario like "i have to validate the multiline text message .it is displaying in a POP up".
please respond as early as possible.

Code:
myString1=Browser("Login").Dialog("Message from webpage").Static("objectName").GetROProperty("text")
'myString2="The selected XXX is not allowed to receive XXXXX materials."+Chr(13) & Chr(10)+"You can not proceed with this order using this XXXX"
if myString1=myString2 Then

msgbox "True"

End if
Thanks,
Murali.

Viewing all articles
Browse latest Browse all 1653

Trending Articles