Forum Discussion

MW_Didata's avatar
MW_Didata
Regular Contributor
3 years ago

Testexecute enters ` or ~ in textbox

When running tests sometimes TC or TE enters chars into a textbox, mostly this char: `    I've seen it enter ~ aswell

Example : 

I can not find where this char comes from, it happens only sometimes and at different moments/tests

 

Anyone have any ideas where this could come from?

 

In this test because it entered a invalid number I get an error screen (from my software) and the tests goes to timeout which stops the entire rest of the project from being run.

16 Replies

    • mehdihs's avatar
      mehdihs
      New Contributor

      if the regex can't match a string in a response, what does it actually do?

      • richie's avatar
        richie
        Community Hero
        Hey mehdihs,

        I think the contains assertion only works for xpath (xml), not jsonpath (json).

        So the regex does work, but only for xml.

        Im not sure but i think i remember trying this before and ending up having to use a script assertion instead.

        Ta

        Rich