08-21-2012, 12:45 AM
How do I tell QTP to ignore QUOTE which is this " (symbol) when using Descriptive Programing?
See this example below:
===========
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.
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.