02-03-2014, 10:13 AM
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.
Thanks,
Murali.
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
Murali.