Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 9.2 .Net
#2
Not Solved
Hi,

Just replace Dim by Public in your code.
From:
Code:
Dim objswfWinDesc, objswfWinColl
    Dim objswfObjDesc, objswfObjColl

To:
Code:
Public objswfWinDesc, objswfWinColl
    Public objswfObjDesc, objswfObjColl

It worked for me when I was getting this kind of error for some other scenerio.
Reply


Messages In This Thread
QTP 9.2 .Net - by sbonsteel - 06-06-2008, 12:15 AM
RE: QTP 9.2 .Net - by Amit Singh Chauhan - 06-12-2008, 02:22 PM
RE: QTP 9.2 .Net - by sbonsteel - 06-12-2008, 04:47 PM
RE: QTP 9.2 .Net - by Amit Singh Chauhan - 06-12-2008, 05:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP takes long time to click on asp.net forms arpan 0 1,923 10-16-2013, 09:30 PM
Last Post: arpan
  QTP is not identifying the objects in .net application. qtpexpert 0 2,699 03-12-2013, 12:59 PM
Last Post: qtpexpert
Exclamation .Net Addin for QTP 9.1(Urgent) shaam 1 3,198 07-15-2011, 07:28 PM
Last Post: Ankur
  Dot Net Factory Button click to run action in QTP nutsndips 1 4,480 06-21-2011, 08:37 PM
Last Post: nutsndips
  How QTP records context menu in .net GUI applications vanibandla 1 4,606 02-25-2011, 06:32 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 3 Guest(s)