How to call/get a keyword test ID in Testcomplete?
I am uploading file A from keyword test (UPLOADFILE_A) from Testcomplete to our site. After file is uploaded in our site, it takes 20/30 mins on our end to process the file and after the file is processed I want to let know TestComplete to upload file B. How can I call Testcomplete and let it know to run the Keyword test (UPLOADFILE_B) that uploads File B.
Need help, thanks
Hi,
While reply from rraghvani is correct and can be used for your case, the case itself rises a couple of questions.
Is it really necessary to wait until the file is processed? Will your actual user wait for this? Is it possible to upload several files and check later if all of them were processed? Can your file or backend business logic be modified/simplified to make the (specially marked test) file to be processed immediately?If nothing from above is not an option, remember that parallel tests execution is not supported in TestComplete. This means that your test and the whole test box will effectively be blocked for 30 mins while waiting for 'Completed' to appear.
You and your developers may consider to issue some event when file processing is over and let TC know about this - https://support.smartbear.com/testcomplete/docs/testing-with/advanced/handling-events/creating-handlers/for-external-com-objects.html for more details.