08-08-2011, 11:22 AM
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.
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.