Please let me the know the implementation is correct or not.
flipkart has changed totally now, we can rely on the loading icon.
I have validated the login based on the name after successfull login.
In excel Test Data sheet uses 3 set, one success login, 2nd invalid user, 3rd invalid password
In original implementation you have used while loop and in failure case you have handled the data_flag and based on that
you have passed, failed the test cases.