Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Troubles with the .NET Extensibility
#1
Not Solved
Hello!

I need your help in testing an application that use a third-party .NET control that are not supported out-of-the-box by the QuickTest Professional .NET Add-in. The object and its operations are not recognized in the Keyword/Expert View.

The Environment:
- Microsoft Windows XP SP3
- Microsoft Visual Studio 2008
- QuickTest Professional 10.00 with both the .NET add-in and the .NET Extensibility SDK installed
- iGrid for .NET 2.0 Demo by the 10Tec Company (using the TenTec.Windows.iGridLib.iGrid.dll)

I've created a Custom Server solution for the iGrid control as directed in the "QuickTest Professional .NET Add-in Extensibility Developer Guide" (Chapter 6). I added the operation (the GetColumnCount() method), which returns the column count as a 32 bit integer. Then I merged the Configuration.xml content into file "<QuickTest Professional>\dat\SwfConfig.xml". Also, I've created a simple windows forms application with the iGrid control to test with the QTP.

Testintg:

Case #1.
1. Start the QTP.
2. Click on the Record button.
3. Select the Windows Application with the iGrid control and run it.
4. Double-click on any cell and type the value.
>>> The result print screen is attached in 1.jpg - iGrid control is not recognized.
5. Open the "Select Object for Step" window and find the iGrid control.
>>> The iGrid item is added but there is no a custom operation GetColumnCount (see the 2.jpg attachment), the operation is only available in the "Object Spy" (see the 3.jpg attachment).

Case #2.
1. Open the "Expert View" in the QTP.
2. Type the record:
SwfWindow("Form1").SwfObject("fGrid").GetColumnCount
3. Insert the breakpoint into it and start the "Debug from Step..."
>>> The operation is recognized in the Watch window and a correct value is returned (see the 4.jpg attachment).

Thanks very much!


Attached Files Image(s)
               
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extensibility accelerator sujaravi123 1 4,193 04-07-2016, 04:53 PM
Last Post: neha320
  HP Extensibility Accelerator 1.10 niranjan 1 6,735 08-15-2013, 01:15 PM
Last Post: Ankur
  QTP 10 Java Add In Extensibility piyush Ojha 1 7,158 06-22-2011, 06:03 PM
Last Post: manasach
  QTP .NET Extensibility Add ins vanibandla 0 6,511 06-08-2011, 03:05 AM
Last Post: vanibandla
  HP Extensibility Accelerator Sathiyakum 0 3,620 03-18-2011, 09:15 PM
Last Post: Sathiyakum

Forum Jump:


Users browsing this thread: 1 Guest(s)