在节点中插入文本katalon

时间:2018-03-02 20:41:57

标签: text set katalon-studio

我正在尝试动态地在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

有人可以帮助我吗?

0 个答案:

没有答案