Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Value entered through datasheet mismatch with the dropdown values...
#1
Solved: 10 Years, 9 Months, 1 Week 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: 10 Years, 9 Months, 1 Week 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: 10 Years, 9 Months, 1 Week ago
Thanks Saket ...Smile

Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)