Had the Dynamic Selection Of City in Goibibo Website

anyone tried Dynamic Selection Of City in Goibibo Website

Hi @shubhamarora4323

See the below xaml file :

Main.xaml (8.0 KB)

Happy Automation, brother it’s simple if user type unexpected Output then what will you do as if user type the city Name which is not available then the exception will occur or if types nothing just had the enter then also exception occurs many ways … for exception.

You can use if loop to check condition String.IsNullOrWhiteSpace(destCity) or destCity.IsNumeric or sourceCity.Equals(destCity) and then one regex for checking alphabets only in the city name.