Eclipse IDE Debugging in JAVA | Selenium WebDriver| Xpath Locator | Save Time

Опубликовано: 16 Сентябрь 2020
на канале: total-qa
522
11

Debugging in Selenium:
=====================
Debugging is useful to detect any bugs in the software.
This is mainly useful for developers to identify the defects in the software.
Especially we write the java logic if there are no syntax errors and we find the errors during the execution time, in order to identify and fix the issues debugging is helpful.

Scenario:
-------------------------
To fix the issues without the re-executing the program from the line number #1.
Re-execute multiple times to fix the issue.

Xpath :

//table[@id='appointmentTypesTable']//tr[1]


//table[@id='appointmentTypesTable']/tbody/tr[1]


//table[@id='appointmentTypesTable']/tbody/tr[1]/td[2]

https://demo.openmrs.org/openmrs/logi...
Admin
Admin123
Click on Inpatient word