Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if...then syntax frustration
#1
Solved: 11 Years, 4 Months ago
I'm using 9.5 on a pretty standard web application.
For some reason the following code is not working...

Code:
If (Browser("MyApp").Page("MyApp").Check CheckPoint("MyApp"))  Then
    Reporter.ReportEvent micPass, "Page_Load", "Success!"
End If


I get two syntax errors:

1) expected ")" [between the Check and the Checkpoint]
2) Expected end of statement

Please help!Sad
Reply


Messages In This Thread
if...then syntax frustration - by mrmarkus48 - 04-07-2009, 04:41 AM
RE: if...then syntax frustration - by Tarik Sheth - 04-07-2009, 10:51 AM
RE: if...then syntax frustration - by Rachna - 04-07-2009, 04:08 PM
RE: if...then syntax frustration - by Tarik Sheth - 04-07-2009, 04:16 PM
RE: if...then syntax frustration - by mrmarkus48 - 04-07-2009, 11:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Correct syntax for read and load global datatable from Resources tab in QC to QTP hari1024 1 5,283 12-08-2011, 10:43 AM
Last Post: sshukla12
  Passing syntax check;but ignoring code cocojava 1 2,393 04-25-2011, 05:55 PM
Last Post: Saket
  How Can I use this Syntax? NancyNancy 2 5,418 02-24-2011, 10:54 PM
Last Post: NancyNancy
  Script gives syntax error in Flight reservation Application pnp19 8 9,362 11-19-2009, 10:03 AM
Last Post: Saket
  Function works fine in QTP but when i put it in vbs file it throws syntax error Rashmi 0 2,252 08-13-2008, 09:13 PM
Last Post: Rashmi

Forum Jump:


Users browsing this thread: 1 Guest(s)