regular expression in html - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: regular expression in html (/Thread-regular-expression-in-html) |
regular expression in html - sujaravi123 - 12-31-2013 below given are the properties of a webtable Code: "Class Name:=WebTable", when i gave Code: if(Browser("Title:=Administer Staff Accounts - Add, Change or Remove an Account").Page("Title:=Administer Staff Accounts - Add, Change or Remove an Account").webtable("class:=rightTable","column names:=DLProd3\.\.\.;Prod Ve\.\.\.","html tag:=TABLE","innerhtml:=.*Atlanta-PPM.*").exist)then Code: reporter.ReportEvent micPass,step1,"The custormer DLProd3is present for the market Atlanta_PPM" it takes to else condition, but if I remove the "innerhtml:=.*Atlanta-PPM.*" from identification properties it passes and identifies the object.Any idea why? does regexp not work with innerhtml? |