SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP stucked at a popup

    Hi,
    Please help me with this situation:
    I am trying to work with Lotus Notes database by calling LotusScript COM object from QTP. It works. However, I got issue every time there's a popup. QTP calls a lotusscript code but get stuck on that line forever until the popup is dismissed. I think qtp is waiting for a return value from the window it just interacts with, but the popup cause the window not to release any handle back to qtp.

    I used "Recovery Scenario Manager" to dismiss the dialog, but it does not work. I have to manually close the popup for qtp to go on.

    Here's a little example:

    Dim ws, dbServer, dbName, uidb, db
    dbServer = "My Server"
    dbName = "database.nsf"
    Set ws = CreateObject("Notes.NotesUIWorkspace")
    Call ws.OpenDatabase (dbServer, dbName) ' This is the line where it stuck if there's a popup in Lotus Notes
    Set uidb = ws.CurrentDatabase


    The "OpenDatabase" statement above is stuck when there's a "Create Cross Certificate" dialog popup

    Thanks in advance for your help

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: QTP stucked at a popup

    Since the COM service is initiating a blocking call there is nothing that you can do. Recovery scenario will also not work in your case. You need to use a external tool to avoid your window.

  3. #3
    Junior Member
    Join Date
    Nov 2001
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP stucked at a popup

    Thanks Tarun
    I have to find other way then.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:24 PM.

Copyright BetaSoft Inc.