Regarding Cucumber feature file | Selenium Forum
Y
yedramiarun Posted on 27/09/2021

In a drop down there are 3 options --there are 3 urls each option some text resides on the url ...so i need to check the text of the option on the current loggedin url and select the option belongs to the text.

i.e. i have written condition as --------When user try to check %url1% is in [applicationurl] 

                                                       Then I click on option1 control else I click on option2 control.

----%url1%--->contains text which is part of the [applicationurl1]

     %url2%--->contains text which is part of the [applicationurl2]

     %url3%--->contains text which is part of the [applicationurl3]

 

Please help me how to check 3 conditions in a feature file and select that option belongs to that text