Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie Question
#1
Solved: 11 Years, 4 Months ago
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
Reply
#2
Solved: 11 Years, 4 Months ago
Check your OR whether this object is there or not.
Reply
#3
Solved: 11 Years, 4 Months ago
i have done that even used the spy thingie
Reply
#4
Solved: 11 Years, 4 Months ago
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"
Reply
#5
Solved: 11 Years, 4 Months ago
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!!!
Reply
#6
Solved: 11 Years, 4 Months ago
Ooook, Im sorry, I did something wrong, but the suggestion by vaibhav_gandhi does work.
Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Newbie: How do i count through a webtable to find an entry? jove1776 5 4,716 08-27-2010, 08:05 PM
Last Post: supputuri
  Newbie question - can't spy on any object within website axxe 4 3,012 03-23-2010, 01:27 PM
Last Post: axxe
  very newbie question rudya 5 3,585 03-23-2009, 10:41 PM
Last Post: rudya

Forum Jump:


Users browsing this thread: 1 Guest(s)