Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to disable regular expressions in a text?
#5
Solved: 10 Years, 9 Months, 2 Weeks ago
This is my code:
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.
Reply


Messages In This Thread
RE: How to disable regular expressions in a text? - by ttralor - 03-01-2013, 04:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 18,579 08-23-2022, 02:51 PM
Last Post: ahmad3029
  Need help on using regular expressions on Java Window's title qa_tester 3 4,846 02-13-2012, 10:56 PM
Last Post: madsenfr
  java window titles & regular expressions jotdog2 1 4,063 02-13-2012, 10:55 PM
Last Post: madsenfr
  Process to use Regular Expressions in QTP using screen shots. yvslraotesting@gmail.com 1 3,331 01-31-2012, 12:45 PM
Last Post: basanth27
  Run error: Object is disable bea 5 11,141 01-11-2012, 12:45 AM
Last Post: sunnyk8

Forum Jump:


Users browsing this thread: