(@id Layer Espec) Tabletbodytr (1) TD (

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

//*[@id="layer_espec"]/table/tbody/tr[1]/td[3]

//*[@id="layer_espec"]/table/tbody/tr[2]/td[3]

//*[@id="layer_espec"]/table/tbody/tr[3]/td[3]

//*[@id="layer_espec"]/table/tbody/tr[1]/td[6]
//*[@id="layer_espec"]/table/tbody/tr[2]/td[6]

//*[@id="layer_espec"]/table/tbody/tr[1]/td[9]

//*[@id="layer_espec"]/table/tbody/tr["+(i+1)+"]/td["+(i+3)+"]

#layer_espec > table > tbody > tr:nth-child("+(i+1)+") > td:nth-child("+(i+3)+")

#\31

git pull origin develop

List<WebElement> lista =
webDriver.findElements(By.xpath("//*[@id=\"layer_espec\"]/table/tbody/tr[\"+
(i+1)+\"]/td[3]/b"));
WebElement element;
for (int i = 0; i <= lista.size(); i++) {
element = lista.get(i);

System.out.println(element.getText());

//*[@id="layer_espec"]/table

JavascriptExecutor jse = (JavascriptExecutor) WebDriver;


WebElement element = WebDriver.findElement(By.xpath("")
((JavascriptExecutor)
WebDriver).executeScript("arguments[0].setAttribute('style','visibulity:visible;');
",element);

//*[@id="div_mes0"]/table/tbody/tr[2]/td["+(i+1)+"]

Fluxo inicial robos solicitação de quimioterapia

List<WebElement> lista =
webDriver.findElements(By.xpath("//*[@id=\"guia_consulta\"]/table/tbody/tr/td"));

for (int i = 1; i <= lista.size(); i++) {


String especialidade =
getText(By.xpath("//*[@id=\"layer_espec\"]/table/tbody/tr[\"+i+\"]/td[3]"));
if(especialidade == requestingAccreditationSpecialty){
click(By.xpath("//*[@id=\"ID_ESPECIALIDADE_ARR\"]"));
}
}
//*[@id="layer_espec"]/table/tbody/tr[1]/td[3] --linhas

You might also like