Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
" " in search text
#1
Not Solved
Hi,

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" />
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.
Reply


Messages In This Thread
" " in search text - by bostonma - 01-31-2009, 12:29 AM
RE: " " in search text - by Ankur - 01-31-2009, 11:19 AM
RE: " " in search text - by bostonma - 02-04-2009, 03:25 AM
RE: " " in search text - by manojith1984 - 02-04-2009, 09:37 AM
RE: " " in search text - by bostonma - 02-04-2009, 08:56 PM
RE: " " in search text - by Prafulla - 02-04-2009, 11:05 PM
RE: " " in search text - by bostonma - 02-04-2009, 11:30 PM
RE: " " in search text - by Prafulla - 02-04-2009, 11:39 PM
RE: " " in search text - by MVChowdary - 03-10-2009, 07:37 PM
RE: " " in search text - by bostonma - 02-04-2009, 11:56 PM
RE: " " in search text - by papu - 03-10-2009, 06:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to record google search items venkatasuresh06 0 2,779 03-09-2011, 06:31 AM
Last Post: venkatasuresh06
  BACK GROUND COLOUR OF A PARTICULAR AREA IN A SEARCH WINDOW remya 2 2,959 11-25-2010, 06:11 PM
Last Post: KavitaPriyaCR

Forum Jump:


Users browsing this thread: 2 Guest(s)