Results 1 to 2 of 2
  1. #1

    Checking if a dialog boc exists

    Hi Guys,

    I need to check if a dialog exists before I QTP executes the remaining steps. I've tried using the following but keep getting this error...
    "Object doesn't support this property or method: 'VbWindow(...).Dialog(...).Exists'"

    1)windowTest = VbWindow("frmStats_" & i).Dialog("Information").Exists(1)

    2)Do until VbWindow("frmStats_" & i).Dialog("Information").Exists(1)

    3)Do until VbWindow("frmStats_" & i).Dialog("Information").WinButton("OK").Exists

    Any ideas how I can get QTP to wait until a dialog box appears



  2. #2

    Re: Checking if a dialog boc exists

    Its "Exist", and not "Exists"
    ~ Mukesh ~



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:41 PM.

Copyright BetaSoft Inc.