Home  >  Q&A  >  body text

python - RIDE自动化测试

我想要验证这个p中的值叫做服饰王国该怎么写呢??

阿神阿神2711 days ago328

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:26:48

    Probably written like this:
    You can look at the help documentation of robot:

    ${text}    Get Text    xpath=/html/body/p[8]/p[1]/p[2]...
    ${text}    Should Be Equal    服饰王国
    

    reply
    0
  • Cancelreply