From the course: Cucumber Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Invoke a page: Read results

Invoke a page: Read results

From the course: Cucumber Essential Training

Start my 1-month free trial

Invoke a page: Read results

- [Instructor] So now that we have all our web elements extracted, the two text boxes and the button, let's go ahead and interact with the two text boxes. So the next thing I'm going to do here is the initial bill amount information to this text box. The name of the variable is Initial Bill Amount, and the Tax Rate is Tax Rate. So this will be Initial Bill Amount. Since this is defined as an integer, I need to convert it to a string, so I'll use Integer.toString method. And, fastest value here. This will send the Bill Amount Let's do the same for the Tax Rate, except this time we will send the Tax Rate value. we will send Tax Rate. Again since this is defined as double, it's not going to accept it, So I am going to have to convert it to a string, which is how I will do this very similarly. Tax Rate, and I got an extra bracket, I need to remove this extra token, and I need to remove this as well. So now I have my two values being passed, and the next thing I'm going to do is just click…

Contents