How to identify a custom object using web extensibility in QTP

This post has 6 Replies | 3 Followers

kiranmca
Points 75
Replied On: Wed, Oct 15 2008 6:18 AM

Hi,

In my web application there is a menu.  It is a custom menu. QTP is not identifying the menu item either by coding or recording. I can able to click on menu and unable to select the menu items. I heard that using web extensibility we can solve this problem.  Can any one suggest me or given me example how achieve this.

Thanks in Advance

Regards

Kiran 


  • Post Points: 35
Lanzkron
Points 10
Replied On: Wed, Jan 7 2009 7:55 AM

Have you looked at the tutorial supplied with QTP? If you install the Add-in installation SDK (from the main setup) you get a sample Web Extensibility project for ASPAjax, you can use this as a reference point or have a look at the Web Extensibility Developers Guide that is installed by the SDK.

 

Creating a new web extensibility toolkit is done by writing some JavaScript files to achieve what you want done and requires some understanding of the way the HTML controls are built. 

 

Good luck, Motti.
  • Post Points: 5
rush_inferno
Points 45
Replied On: Tue, Jun 16 2009 6:32 PM

Hi,

Even I am facing the same problem on a desktop application. Could you please let me know were you able to solve it?

 

--

Rushabh

  • Post Points: 20
kiranmca
Points 75
Replied On: Wed, Jun 17 2009 6:53 AM

Hi Rushabh,

I got it using the vb script. we should write script to identify the custom object.

Regards

Kiran

 

  • Post Points: 20
rush_inferno
Points 45
Replied On: Wed, Jun 17 2009 9:14 AM

Hi Kiran,

Thanks for your reply.

It would be great if you could point me to some reference whcih i can use to dig into this.

I am just a newbie in using QTP so do not know much about it.

 

--

Rushabh

  • Post Points: 20
kiranmca
Points 75
Replied On: Wed, Jun 17 2009 9:27 AM

Tell me your requirement, means what kind of custom object it is.

Even i was very new to QTP, i worked on that project for 2 months only. As per my knowledge you should make use of VB Scripting to work with custom objects.

Or go with Web Extensibility. I heard this is not a correct approach.

Give me your requirement i will think and update you.

 

 

  • Post Points: 20
rush_inferno
Points 45
Replied On: Wed, Jun 17 2009 10:46 AM

Hi Kiran,

I am automating a WPF Desktop Application and there are a few DevExpress grids in it. These grids are not getting recognized by the QTP. So i need to find out a way to deal with it.

One way is to use the way QTP recognizes it as some basic object and then make some manipulation based on requirement.

Thanks again.

--

Rushabh

  • Post Points: 5
Page 1 of 1 (7 items) | RSS