04-04-2012, 11:11 AM
Hi
I want to identify my object using it's outer html property as given below
Browser("Title:=Arbitron Cross-Platform Campaign Analyzer").Page("Title:=Arbitron Cross-Platform Campaign Analyzer").Webelement("html tag:=TD","outerhtml:=<TD style="FONT-STYLE: normal; FONT-FAMILY: Arial Unicode MS, Arial, sans-serif; WHITE-SPACE: nowrap; COLOR: black; FONT-SIZE: 12px; VERTICAL-ALIGN: middle; FONT-WEIGHT: normal" align=left.*")
But you can see there is a double quotes inside outer html before the "FONT-STYLE".Also the word "normal" inside the outer html is a keyword for QTP.So these creating problems in identifying the object
Please help me in resolving these?
I want to identify my object using it's outer html property as given below
Browser("Title:=Arbitron Cross-Platform Campaign Analyzer").Page("Title:=Arbitron Cross-Platform Campaign Analyzer").Webelement("html tag:=TD","outerhtml:=<TD style="FONT-STYLE: normal; FONT-FAMILY: Arial Unicode MS, Arial, sans-serif; WHITE-SPACE: nowrap; COLOR: black; FONT-SIZE: 12px; VERTICAL-ALIGN: middle; FONT-WEIGHT: normal" align=left.*")
But you can see there is a double quotes inside outer html before the "FONT-STYLE".Also the word "normal" inside the outer html is a keyword for QTP.So these creating problems in identifying the object
Please help me in resolving these?