1.

Select A Checkbox Using Protractor?

Answer»

We need to follow few STEPS to MAKE sure that element is selected or not, Normally when we have this kind of scenarios what we do is, we will USE click() method to select the check box. After this we might move on to next step of scenario.

SOMETIMES not selecting will help you; you got to make sure that the checkbox is selected. To verify it we need to use the is Selected () method and GET check whether it is really selected.

We need to follow few steps to make sure that element is selected or not, Normally when we have this kind of scenarios what we do is, we will use click() method to select the check box. After this we might move on to next step of scenario.

Sometimes not selecting will help you; you got to make sure that the checkbox is selected. To verify it we need to use the is Selected () method and get check whether it is really selected.



Discussion

No Comment Found