Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if...then syntax frustration
#3
Solved: 11 Years, 4 Months ago
you have missed '('
Code:
If (Browser("MyApp").Page("MyApp").Check CheckPoint("MyApp")))  Then
    Reporter.ReportEvent micPass, "Page_Load", "Success!"
End If

hope this would work fine for you!
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,278 12-08-2011, 10:43 AM
Last Post: sshukla12
  Passing syntax check;but ignoring code cocojava 1 2,388 04-25-2011, 05:55 PM
Last Post: Saket
  How Can I use this Syntax? NancyNancy 2 5,412 02-24-2011, 10:54 PM
Last Post: NancyNancy
  Script gives syntax error in Flight reservation Application pnp19 8 9,352 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,250 08-13-2008, 09:13 PM
Last Post: Rashmi

Forum Jump:


Users browsing this thread: 1 Guest(s)