1

我正在尝试在 P 标签内动态插入文本。

WebUI.waitForElementPresent(findTestObject('Page_Mthode Swing - EidosMedia QA_m (1)/span_Insert Headline Here'), 10)

WebUI.setText(findTestObject('Page_Mthode Swing - EidosMedia QA_m (1)/span_Insert Headline Here'), 'Testing Katalon')

span_Insert Headline Here - xpath: id("editor_1")/eom-content/div[@class="xsm-doc"]/div[@class="xsm-story"]/div[@class="xsm-grouphead emxed-ct-headline emxed-contentitem-wrapper"]/div[@class="xsm-headline"]/p[@class="xsm-p"]

所需的输出:p tag Testing /p

谁能帮帮我吗?

4

0 回答 0