Micro Focus QTP (UFT) Forums
How to select a specific field and value when there is multiple fields with same obje - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to select a specific field and value when there is multiple fields with same obje (/Thread-How-to-select-a-specific-field-and-value-when-there-is-multiple-fields-with-same-obje)



How to select a specific field and value when there is multiple fields with same obje - venkatbatchu - 07-30-2009

NoteTonguelease go through the attached screen sot
Could you please explain me about the scenario mentioned below:
Scenario:
When I record the application it is taking same object multiple times like “+” is a grow button then in object repository it is taking multiple times as growbutton_1, growbutton_2, growbutton_3,…..
And the same way for the fields (area, assigned to, originator) which is taking as “Select field”, selectfield_1, selectfield_2,……

While running the application as in OR it is having multiple object and able to run successfully when I use the descriptive programming it is not running successfully

My observation:
While running the application here in the first field it is taking as Area and select the field values and next it has to perform the clicking “+” button and then it has to select the another field from the second field
Observed issue:
Here it is always selecting the first field value only instead of 2,3,4,…..


Could you please share your ideas please let me know if u have any better solution for this
Screen shot:


RE: How to select a specific field and value when there is multiple fields with same obje - venkatbatchu - 08-12-2009

Hi All,
Just to remind you about the mentioned scenario. Please let me know if u have a solution for this


RE: How to select a specific field and value when there is multiple fields with same obje - Saket - 08-12-2009

I beleive, you does not know the answer for this, if this is the case can you please paste the statements of your descriptive programming?


RE: How to select a specific field and value when there is multiple fields with same - basanth27 - 08-12-2009

@Saket - On a friendly note Smile, Please dont mock any further on VenkatBatchu's questions. Everybody does mistakes, lets forgive and forget and move ahead. Wink


RE: How to select a specific field and value when there is multiple fields with same obje - Saket - 08-12-2009

Yes, definitely. I have just tried to confirm whether this was also in the earlier series or not Smile. as the post is bit older.
Sorry Venkat, If it hurt you. Please paste the statements where your descriptive programming does not work.