Ask a Question

Testexecute enters ` or ~ in textbox

MW_Didata
Contributor

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 : 

MW_Didata_0-1678974367811.png

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.

15 REPLIES 15
MW_Didata
Contributor

Also the number it is supposed to enter is '9990845' not '9908459'

rraghvani
Trusted Contributor

Is that Excel?

rraghvani_0-1678975701175.png

Cell B1, the number is stored as text. Whereas, Cell B2 is a number.

MW_Didata
Contributor

It does import from excel, when it has entered the number it does number +1 and enters the next for x amount of times. this was 2 rows in so I can't see how this could be the problem otherwise the rows before would not have been entered. I also know for a fact that none of my excel values have a ' in there.

rraghvani
Trusted Contributor

You need to check the format of the cells in your Excel document.

MW_Didata
Contributor

This is my excel:

MW_Didata_0-1678976761954.png

As you can see it's just a value, no spicy extra's it should enter just the number and nothing else.

The rows before worked just fine, and it only happens sometimes

 

In the logs it says:" '9990845[Enter]' was send as a keyboard input to the following window or control."

the ' before and after the number is just the log quote mark to specify what was entered

rraghvani
Trusted Contributor

How is the data being entered i.e. what method or keyword test action are you performing?

Just keys, it is entered in a grid.

MW_Didata_0-1678977511586.png

It loops this subtest for x amount of times, everytime var.Artikel +1

The whole test works fine just this happens not just here but other places too.

I cant remember where and when but I've seen this problem in the logs before

rraghvani
Trusted Contributor

If it happens intermittently, then it's going to be difficult to diagnose.

 

It could be your grid control performing some conversion.

 

 

"then it's going to be difficult to diagnose." My problem exactly haha,

Thanks anyways I'll keep my eye out for when this problem happens next time.

These tests i'm working on now handle big data entries so the problem happened twice already today.

Will talk with my developer  about this next week.

 

If I find a fix I'll post my findings.

@rraghvani  Thanks for the help!

cancel
Showing results for 
Search instead for 
Did you mean: