I am automation AJAX based web application using QTP on IE6.0 browser.But while recording I am facing following two problems:-
1.In one of the ajax based frame QTP is always using ordinal identifier to recognize the web button objects though description properties are there and should be sufficient to identified the web button.
2.In one of the other frame (Menu frame) QTP is unable to record any thing if I click on menu buttons.
1.Object spy is able to recognize the objects well; as all the description propertis are attached with the objects.
But still while recording QTP is using "ordinal identifier" to recognize the web button objects (I can't understand why???)
2. Also could some one please put some light why QTP is unable to record any thing one of the other frame (Menu frame) based on Ajax of web page.
Ordinal attributes are used when "Mandatory" and "Assistive" properties are not sufficient to identify an object. If there are multiple objects in your page/frame having exactly same "Mandatory" and "Assistive" properties then QTP will use ordinal attributes.
Thanks beginner1234 for your suggestion.I understand the uses of "Optional ordinal"."Mandatory" and "Assistive" properties are suffiecint to identified the objects in my case as all the "Mandatory" properties of the objects are different from the objects avialable in the frame and also propeties like "name","text"."html id" are being identified by object spy as well.
But still I am unable to understand why it is using Ordinal attributes to identified the objects.
is anyone faced similar problem before and found the solution.
I would also appreciate if some one guide why QTP is unable to record on one of the frame "Menu frame". Thogh it is able to do recording on other frames.
I have a small AJEX based window that comes in as an autocomplete help and I can't get QTP to even identify that, so I guessed it is not possible for QTP to identify any AJEX based objects. I did not need the autocomplete feature in my scripts so never did any research.