Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to tell QTP to ignore "quote" thing and dont evaluate it when using Descriptive P
#1
Solved: 8 Years, 1 Month, 2 Weeks ago
How do I tell QTP to ignore QUOTE which is this " (symbol) when using Descriptive Programing?

See this example below:

Code:
Browser("name:=Delta - Book a flight").Page("title:=Delta - Book a flight").WebButton("html id:=continue_button", "outerhtml:=<INPUT id=continue_button class="button right" onclick=document.BusinessPersonalTravelForm.submit() value=Continue type=button name=continue_button>").Click

===========

As you can see above that " ... _button class="button right" has the " on it and get the QTP confused.

BTW, I have no choice but to use OUTERHTML:=

I am sure there is a way to tell it to ignore it.

Please help.

Thanks so much.
Reply
#2
Solved: 8 Years, 1 Month, 2 Weeks ago
you can use escape character to see if this works.

Code:
INPUT id=continue_button class=\"button right\"

Regards,
Ankesh
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to evaluate the expression. The debugger evaluation timeout was exceeded EnthusiasticLearner 0 3,008 01-07-2014, 01:20 AM
Last Post: EnthusiasticLearner
  Ignore a hardcoded error report when testing webservices mnybon 0 1,956 11-08-2011, 07:56 PM
Last Post: mnybon
Rolleyes concatenating " (double quote) in a string??? vijayendra.shukla 3 19,014 07-05-2011, 08:06 PM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 1 Guest(s)