This is my code:
----------------------------------------------------------------------
I investigated the WebTable an see that the same textvalue is also in the "outertext" property, can this be a problem? When i run my QTP script without the "innertext" i got an "OK" message.
Code:
If FlightFinderPag.WebTable("html tag:=TABLE", "Index:=8", "column names:=DEPART Frankfurt to Acapulco.*","innertext:=DEPART Frankfurt to Acapulco3/1/2013SELECTFLIGHTDEPARTSTOPS Blue Skies Airlines 360 5:03non-stopPrice: \$270 (based on round trip) Blue Skies Airlines 3617:10non-stopPrice: \$271 (based on round trip) Pangaea Airlines 3629:17non-stopPrice: \$274 (based on round trip) Unified Airlines 36311:24non-stopPrice: \$281 (based on round trip)").Exist(1) Then
Reporter.ReportEvent micPass, "OK",""
Else
Reporter.ReportEvent micFail, "NOK,""
End If
I investigated the WebTable an see that the same textvalue is also in the "outertext" property, can this be a problem? When i run my QTP script without the "innertext" i got an "OK" message.