In this video will see how to check if correct page is loaded or not. In order to do that will get the title of the page and perform a check. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email…
Tag: name
How to get the count of any webElement on webpage in Selenium?
In this video will see how to count any specific type of webElements (e.g no. of hyperlinks, input boxes, images etc). In other words we can get how many times any webelement occurred on any given point of time. We will also see how to print the text of webelements….
Resolve [UnexpectedTagNameException: Element should have been “select” but was “div”] in Selenium?
In this video will see how to resolve selenium error – Exception in thread “main” org.openqa.selenium. UnexpectedTagNameException: Element should have been “select” but was “div”. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Code: Error screenshot:
How to take CSS Selector/Xpath using regular expression in Selenium?
In this video will see how to take CSS Selector/Xpath using regular expression in Selenium. We need to take regular expression when attribute values are so long or partially change every time. In that case we need to do unique partial match for values with the help of regular expressions….
How to write xpath in Selenium when properties has no unique values?
In this video will see how to take xpath in selenium when there are no unique values are present any element or attribute values are dynamic (changing on every page load). I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email…
How to add/ save a new contact in phone directly from your App? – Android Studio code
In this video it shows how to save the contacts directly from your Android App programmatically. It uses ContentProviderOperation to structure the input and then insert it in the phone’s content as a new contact. I hope you like this video. For any questions, suggestions or appreciation please contact us…
How to add a new contact in phone using intent from your Android App?
In this video it shows steps to add new contacts in your phone using the intent type ContactsContract.RawContacts.CONTENT_TYPE. In this video the major part of the code is taken from the below page of Android developers:https://developer.android.com/training/contacts-provider/modify-data#InsertContact However, in this video it shows the above code in action. I hope you…
How to get SSID of the Wifi using WifiManager.getConnectionInfo API in your Android App? – For SDK 29 (Android 10)
This video shows the code to get SSID of the wifi in your Android App using the WifiManager.getConnectionInfo API. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Complete source code: package com.programmerworld.getssidofwifi;import androidx.appcompat.app.AppCompatActivity;import androidx.core.app.ActivityCompat;import android.Manifest;import android.content.pm.PackageManager;import android.net.wifi.SupplicantState;import…
How to get make, model, brand, etc. of the phone/ device in your Android App?
In this video it shows how to get the details of the phone such as Model, Manufacturer, Device name, etc. using the Build object in the code. The details of the phone from the Build is available to any app so it can easily be accessed to fetch the details…
How to connect to the Oracle database using JDBC driver from your Android App? – Android Studio Example
In this page it shows the steps to develop the Android App code to connect to the Oracle database. It briefly shows the steps to install and setup the Oracle database on your machine initially. Then it takes through the steps of how to include the jdbc JAR file in…