tristaanogre great additional remarks!
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.
This is my excel:
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
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.
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
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!
I just found this problem somewhere else, once again the ` symbol was enterd in the textbox.
In the logs there is no sign that this happend
It just says it entered: 834505[Enter]
Has anyone else had this problem before?
EDIT:
It's the ` symbol not the ' symbol
It shares a key with ~ while the other shares it's key with "
Have you tried to print just the variable value to log before entering that in the field to see what value does the variable has?
Check my last message
Since the log says exactly what it enterd in the textbox it's impossible for it to enter the other key.
This key somehow gets entered somehow at different moments and in different tests.
This key is nowhere within my tests or excel data or key inputs
I saw that and that's showing the action item of the Key method. But I was asking to check the value of that variable before entering it in the field. So we can rule out that the issue is not in Key method and it's from the step where the value is stored in the variable. We need to troubleshoot backwards to identify where the exact issue is happening.
I'm Bumping this thread back to the top, It still happens every now and then. In the last week it happend twice in different projects at different points in the test.
1st time: using .Keys("[Enter]"); it entered: `[Enter]
2nd time: using .Keys("1000055[Enter]"); it entered: `1000055[Enter]
Since the last 2 years I have completely rewriten my keywordtests in VB to javascript scripts.
This issue still happens.
I'm just wandering id anyone else has seen this problem.
The title and previous comments do say it enters ~ but I dont think it does, only `
EDIT: it seems like it did not bump back to the Top, I'll make a new thread
Related Content
- 3 years ago
- 5 years ago
- 4 years ago
- 5 years ago