Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Value entered through datasheet mismatch with the dropdown values...
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,

I am using mercury windows based flight application.
I have parameretised values for FlyTo field. hence i am entering values from the datasheet. I have a list of values out of which one of the value is Invalid i.e. that value do not exists in FlyTo Dropdown.
Now when i run my script, QTP throws an error and test stops there.

Suggest me as to how i should handle the situation wherein if the value i enter through datasheet do not exists in Dropdown then QTP handles this and carry on with the next value.
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
This should not be the case for dropdowns. QTP will always throw the exception if it does not find the item in dropdown, always check the item exists before setting it.

Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Thanks Saket ...Smile

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Type of Dropdown Selector zunebuggy 6 3,401 05-01-2018, 06:46 PM
Last Post: zunebuggy
  Storing runtime value into datasheet priyaUFTlearner 4 3,425 04-10-2015, 10:08 PM
Last Post: priyaUFTlearner
  Not able to click text inside the grid dropdown szkapoo 6 4,633 12-20-2014, 09:43 PM
Last Post: supputuri
  Error with QTP DataSheet Values. srach84 1 2,128 11-27-2014, 10:32 AM
Last Post: vinod123
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,280 05-31-2014, 12:00 PM
Last Post: excellentpawan123

Forum Jump:


Users browsing this thread: 1 Guest(s)