Waiting for batch file (tested app) to complete before continuing keyword test
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2022
03:07 PM
01-28-2022
03:07 PM
Waiting for batch file (tested app) to complete before continuing keyword test
I am running a batch file that refreshes my database to test my desktop application. How do I make it wait for the batch file to finish before it continues running the rest of the keyword test?
I run different batch files in different keyword tests so they all do not take the same time to run. I am trying to speed up my tests for better efficiency.
Labels:
- Labels:
-
Desktop Testing
-
Keyword Tests
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2022
04:10 PM
01-30-2022
04:10 PM
How can you yourself tell when the database update is complete?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022
07:12 AM
02-03-2022
07:12 AM
The batch file command window closes.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022
08:25 AM
02-03-2022
08:25 AM
You could have your test check every few seconds in a loop to see if the command window exists. When it no longer exists, or some time has passed (how long is too long to wait?), then finish the loop and go on to the next line of the test.
