Posts: 7
Threads: 2
Joined: Jan 2008
Reputation:
0
01-23-2008, 08:43 PM
The application is developed in C. When i am trying to record this application, its not identifying many of the objects like Combo box, list box, etc. For all the combo box in the frame, the properties is same when QTP is used. Only position differs(which i cant use for my scripting). So, i tried with the virtual objects, but i wasnt successfull. Is there any other way to identify these specific C objects?
Posts: 33
Threads: 8
Joined: Jan 2008
Reputation:
0
01-23-2008, 09:19 PM
Hi,
I think you can go for descriptive programming.
Posts: 7
Threads: 2
Joined: Jan 2008
Reputation:
0
01-24-2008, 11:54 AM
Thank You Rajesh. But for descriptive programming also, there should be a unique property so that the object can be identified. But in this scenario, all the objects in the frame has the same property. So how can we go for the descriptive programming also? Can anyone plz suggest a solution?
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
01-24-2008, 10:44 PM
hmmm... interesting... Have you tried using "index" or "location" ordinal identiifer?
Posts: 7
Threads: 2
Joined: Jan 2008
Reputation:
0
01-25-2008, 11:16 AM
Hi Ankur,
Thanks for the reply. We tried with Object Identification. We tried to map the customized C object into standard Windows object. Still its not recognizing the objects uniquely.
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
01-25-2008, 11:17 AM
you didn't reply to my previous question!
Posts: 7
Threads: 2
Joined: Jan 2008
Reputation:
0
01-25-2008, 12:03 PM
Hi Ankur,
Sorry. ya, i tried with location ordinal identifer. But its not fully successful. I set the ordinal identifier. After that i used the object spy on objects. When i am using the object spy, for the first object, its showing all the proper properties. But when i move the object spy to other object, again the previous scenario appears( same properties for all the objects). I am getting confused.
Posts: 7
Threads: 2
Joined: Jan 2008
Reputation:
0
01-25-2008, 09:05 PM
Hello Rajesh,
Its Ok for HTML applications. But my application is developed in C for which the object doesnt hav any unique properties. In that case, how will the descreptive programming will help?
Posts: 4
Threads: 1
Joined: Sep 2012
Reputation:
0
09-07-2012, 12:40 PM
Hi,
I am facing the same issue, there are no unique properties to go with the descriptive programming . Record and Playback option is also not working . Can anyone suggest if there is anyother possible way for this.
Thank you,
Anusha.