Micro Focus QTP (UFT) Forums
Newbie Question - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Newbie Question (/Thread-Newbie-Question)



Newbie Question - zeejay - 04-21-2008

Greetings, So i decided to learn QTP having worked on it before helped so i started with the built in tutorial the pdf copy. I'm stuck at this one area and i cant debug the error message any help would be appreciated.

Cannot identify the specified item of the cc_exp_dt_yr object. Confirm that the specified item is included in the object's item collection.
Line (6):
Code:
"Browser("Book a Flight: Mercury").Page("Book a Flight: Mercury").WebList("cc_exp_dt_yr").Select 2008".
I have doubled tripled checked the ITEM NAME and there is not problem there.

Thanks,

Zeejay


RE: Newbie Question - newqtp - 04-23-2008

Check your OR whether this object is there or not.


RE: Newbie Question - zeejay - 04-24-2008

i have done that even used the spy thingie


RE: Newbie Question - vaibhav_gandhi - 04-25-2008

Hi,

It seems that the item you are selecting doesn't appear in the list box. If 2008 item does appear in the list box then use below code:-
Browser("Book a Flight: Mercury").Page("Book a Flight: Mercury").WebList("cc_exp_dt_yr").Select "2008"


RE: Newbie Question - berenice - 09-29-2009

I have the same problem, help me, please!!!

I used the vaibhav_gandhi's code, but not work =(
Code:
Browser("Book a Flight: Mercury").Page("Book a Flight: Mercury").WebList("cc_exp_dt_yr").Select "2008"


My Run error is:
Cannot identify the specified item of the cc_exp_dt_yr object. Confirm that the specified item is included in the object's item collection.
Line (11):
Code:
"Browser("Book a Flight: Mercury").Page("Book a Flight: Mercury").WebList("cc_exp_dt_yr").Select 2008 ".


Thanks!!!


RE: Newbie Question - berenice - 09-29-2009

Ooook, Im sorry, I did something wrong, but the suggestion by vaibhav_gandhi does work.
Thanks.