06-18-2012, 04:35 PM
How to verify a dropdown value is in Read only mode using QTP?
Here in my application there is a dropdownlist whose value is set to "Yes" as per the Test cases.
Now after submitting the form that consists that dropdown , we have to open the form again(via any link that has stored in some inventory) and have to check that the dropdown exists and its value is set to "Yes" and it is no more editable.(read-only mode)
But at the time of opening the form back again we found that , it is no more dropdown list element, rather than it is a webelement. And I checked the GetRoProperties too, but did not find any suitable property to verify that.
So now what should the appropriate way to verify such scenario?
Can anyone please help me out with their knowledge?
Regards,
Nilanjan.
Here in my application there is a dropdownlist whose value is set to "Yes" as per the Test cases.
Now after submitting the form that consists that dropdown , we have to open the form again(via any link that has stored in some inventory) and have to check that the dropdown exists and its value is set to "Yes" and it is no more editable.(read-only mode)
But at the time of opening the form back again we found that , it is no more dropdown list element, rather than it is a webelement. And I checked the GetRoProperties too, but did not find any suitable property to verify that.
So now what should the appropriate way to verify such scenario?
Can anyone please help me out with their knowledge?
Regards,
Nilanjan.