New answers tagged

2

As I understood the question, it is required to define the reusable methods and use those methods in different test cases based on the requirement. Here I am writing the code for two individual methods to work with,... public void inputKeys(WebElement we,String ip){ we.sendKeys(ip); } The above code just type the string value referred by ip variable. ...


0

Since they have already given you the test scenario and have told you what they want asserting ("verify that total price matches"), it looks like they really just want to see your coding style and how you would design the DSL for this scenario. I think the way you have split up the packages sounds sensible. Not sure what they want specifically but if it ...



Top 50 recent answers are included