please share your code.. i can't understand what is your probleme, and what you need to do..
Hi, I have shared a sample MXML for your reference. When i am trying ot identify the label or text box using QTP it fails to identify. If i am giving some value in label field say label="test" or even <space> then qtp is identifying objects. Please provide your input.
Quick response will be very helpful as we are badly stuck.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:FormItem label="" labelWidth="0" automationName="kp">
The probleme if a container does not appear on the screen, it does not appear in the testing hierarchy QTP, in your exemple the FormItem don't appear, so you must put data in the FormItem Label.. I think this is the probleme.
Tray to put white space in your FormItem label..
If i put a white space then it works but the problem is it affects the look and feel of application and customer is not keen to do this changes. Is there any other work around?