Micro Focus QTP (UFT) Forums
Confirm that the specified item is included in the object's item collection. - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Confirm that the specified item is included in the object's item collection. (/Thread-Confirm-that-the-specified-item-is-included-in-the-object-s-item-collection)



Confirm that the specified item is included in the object's item collection. - mugs - 02-27-2009

I am working on a web based application,I am selecting the State from the dropdown list and then parameterizing it.For first iteration the script works fine but for the second iteration it gives "Confirm that the specified item is included in the object's item collection." error.The name of the state which is parameterized is exactly matching the name in the dropdown menu.Is there any way to resolve the problem I am not entering any spaces after entering the state in the datatable.


RE: Confirm that the specified item is included in the object's item collection. - Ankur - 02-27-2009

There seems to be a minor glitch. here are 2 suggestions from me:

  1. Try to extract the names of state in a run time datatabe and see how they are stored. Then use the same way while parameterizing.
  2. If none of the option works, use #1 , #2 etc in your Select <> to reach corresponding states.