Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if double quotes comes in outer html
#4
Not Solved
Hi,

QTP even wont recognize few of the special charectors , u need to handle them also like a double quote. use '.'(dot) for sinle charector. here is the below expression that might work , also its better to recognize the object with 'class' , html id' rather than 'outer html'....try to use other properties as well.

Code:
Browser("abc").Page("xyz") .WebElement("html tag:=SPAN","outerhtml:=.SPAN style.""COLOR. .1274c0. FONT.SIZE. 12px. FONT.WEIGHT. bold""...91..22.61638369..SPAN.").Click
Thanks,
Harish
Reply


Messages In This Thread
RE: if double quotes comes in outer html - by harishshenoy - 10-18-2012, 10:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Double click kiran664791 0 708 03-11-2023, 06:50 PM
Last Post: kiran664791
  Dynamic obj rep - get text in the class (html) marcio cravo moreira 0 2,049 05-26-2015, 06:58 PM
Last Post: marcio cravo moreira
  regular expression in html sujaravi123 0 2,208 12-31-2013, 03:00 PM
Last Post: sujaravi123
  Excel to HTML results keerthi286 1 2,572 04-19-2013, 08:21 AM
Last Post: basanth27
  Can I use html id as an unique identifier for all the components in a web page qtplearner88 8 7,947 05-21-2012, 06:52 PM
Last Post: falvi

Forum Jump:


Users browsing this thread: 1 Guest(s)