Type in Text Box using Appium

Let’s see, How can you Type in Text Box using Appium. In previous tutorials, You have seen, How to Select Check Box in Android. Now we will see, How can we type in Text Box of Andriod Application.

 

The text box is important Element in Mobile and Web Application. Like Selenium WebDriver in Appium, If you want to type text in TextBox then you can use the sendKeys(keysToSend) command.

 

In Appium, You just need to find the element(TextBox)  and use sendKeys() method to type inside the TextBox.

 

Type in Text Box using Appium

Let’s take an example, Open your Contacts on your mobile Device. Click on Add Contact icon. Find the Name field and Type the Contact name.

 

Let’s understand this using this simple example-

In above example, We have implemented the logic to type inside the TextBox.

 

Using this way You can use the sendKeys() method to type the text inside the textBox.

0 Comment

Leave a Reply