Keyword Test not working the second time
Hello,
The application I am testing is a web application. I have a Keyword Test that runs successfully the first time but the second time it is always in error. Basically what my test does:
1- Click on the input text field
2- Do a "Ctrl + a"
3- Make a "Delete"
4- Enter new text
What I seem to notice is that the click on my field no longer works after the first time. So the "Ctrl + a" and all the rest either.
What I have tried to try to fix the problem:
1- I validate if my field exists and it returns True
2- I put some "Delay" before each operation but that doesn't change anything
3- I configured "auto-wait" property on operations and that doesn't change anything
4- Add an operation to put the focus on my field before the clic
5- I tried to put several "Click" operation in a row and it doesn't work either
I'm really out of ideas.
Help please!
Thank you.
Katherine
I think I have found my problem. I thought I didn't need the "Navigate" operation at the start of a Keyword Test, if my browser was already open to the desired page. So I removed it from my test if my functionality had several Keyword Tests that I ran successively. Until now it was working. But I see that when I run the same test 2 times in a row, the second time doesn't work if I don't have the "Navigate" operation.
I'm a new user of TestComplete. It won't be my last mistake 😋
Thanks for your responses !