Hi,
I have text something like this :
I need to store this text and verify it against actual value.
Now when I try to save this in a variable
say txt = above string,I get error message (expected end of statement) as there are many " " characters in the string itself and in QTP by default if we use " " then it is considered as comment.
can someone please help me how can I store one big sentence in a variable that contains " " within it.
I have text something like this :
Code:
<td width="33" background="/images/main_nav_bg.gif"><img src="/images/gnav_div.gif" width="2" height="11" vspace="6" hspace="14" />
Now when I try to save this in a variable
say txt = above string,I get error message (expected end of statement) as there are many " " characters in the string itself and in QTP by default if we use " " then it is considered as comment.
can someone please help me how can I store one big sentence in a variable that contains " " within it.