How qtp handles customised object

Showing Answers 1 - 5 of 5 Answers

RAJAGOPAL REDDY

  • Dec 14th, 2006
 

We can map a custom object to Standard object in QTP or any automation tool.

I am giving an example for a WINDOWS application, you can do for any type of objects web, java, .NET...etc

  Was this answer useful?  Yes

raman

  • Dec 19th, 2006
 

hi reddi

still i have a confusion with ur answer.would u mind explaining bit elaborately.i'll be thankful to u.

  Was this answer useful?  Yes

sureshbabu muppasani

  • Dec 22nd, 2006
 

QTP handles the customised objects by using virtual objects.

By using virtual object " customised objests are converted in to standared objects", bcz qtp sometimes cannot recognise the  objects.

goto tools menu --> select new virtual object --> select the standed classname ( i.e object, button, check point ......) -->                              select the mark object-->select the customized object --> enter name -->ok

While recording the script qtp adds the customized object in object repositary.

Any further queries :   sureshmuppasani@gmail.com

                                  

  Was this answer useful?  Yes

This is regrding how to learn the customized objects in QTP and how to use. Actually I have to write scripts to automate our applicaton. Our web application has several features which acan be accessed by using one menu bar and sub menu item benaeath to that. When I am trying to add this object to repository or recording the applin QTP not identifying this menu bar and sub menu items under that.

 
E.g I have below parent menu items.
 
1. Manage.
2. Learn
3. Assess.
 
Under manage I have Users, Domains and etc. How to make QTP to recognize both parent and chid menu items. Pleae advise. This is blocking issue for me.

  Was this answer useful?  Yes

Yahya

  • Jan 27th, 2007
 

Hi, I had a similar problems while accessing a menu button which opens Sub menus, Please use the "OnContextMenu" expBrowser("a").page("A").button("mnu").FireEvent "onContextmenu"

Hope this help.
Thanks,
Yahya Karori

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions