Contributions
Need to Update Test Results for individual test cases in QAComplete programmatically
Need to Update Test Results for individual test cases in QAComplete programmatically from the TestComplete Driver Script. Hi, I have a n automated test suite that runs several tests. All these tests are triggered via an automation suite which is developed using TestComplete, from QAComplete. I need to update the results of each of the individual test cases that are present in QA Complete based on the automation run results. The Automation Test Suite is a hybrid framework and is not calling each test cases individually, but is called though a driver script. I believe that there is an API call (probably swagger) that should be able to get this done. I did check the below link to the API, but it looks like the API updates the result of the test item that is run, there is no direct way to access each individual tests probably via TestCaseID https://support.smartbear.com/viewarticle/66913/ Also, It may be an API or some Object that will give me access to the QAComplete to do this. Any information regarding this would be very helpful as I need to get this done ASAP. Thanks,794Views0likes1CommentNeed to Update Test Results for individual test cases in QAComplete programmatically
Need to Update Test Results for individual test cases in QAComplete programmatically from TestComplete Driver Script. Hi, I have a n automated test suite that runs several tests. All these tests are triggered via an automation suite which is developed using TestComplete, from QAComplete.I need to update the results of each of the individual test cases that are present in QA Complete based on the automation run results. The Automation Test Suite is a hybrid framework and is not calling each test cases individually, but is called though a driver script. I believe that there is an API call (probably swagger) that should be able to get this done. I did check the below link to the API, but it looks like the API updates the result of the test item that is run, there is no direct way to access each individual tests probably via TestCaseID https://support.smartbear.com/viewarticle/66913/ Also, It may be an API or some Object that will give me access to the QAComplete to do this. Any information regarding this would be very helpful as I need to get this done ASAP. Thanks,1KViews0likes0CommentsNeed to Update Test Results for individual test cases in QAComplete programmatically via API
Hi, I have an automated test suite that runs several tests. All these tests are triggered via an automation suite from QAComplete.I need to update the results of each of the individual test cases that are present in QA Complete based on the automation run results. The Automation Test Suite is a hybrid framework and is not calling each test cases individually, but is called though a driver script. I believe that there is an API call (probably swagger) that should be able to get this done. I did check the below link to the API, but it looks like the API updates the result of the test item that is run, there is no direct way to access each individual tests probably via TestCaseID https://support.smartbear.com/viewarticle/66913/ Any information regarding this would be very helpful as I need to get this done ASAP. Thanks, Pramod1.1KViews0likes3CommentsRe: Updating thousands of test cases based on automation results
Hi, I have a test suite that runs several tests. I want to update the results of each of the individual test cases that are present in QA Complete based on the automation run results. I believe that there is an API call that should be able to get this done. Any information regarding this would be very helpful as I need to get this done ASAP. Thanks, Pramod1.6KViews0likes0Comments- 562Views0likes0Comments
Re: Test Complete does not wait until the entire Page/Frame is loaded even though we wait for the ready state to be complete
Hi Alex, Thanks a lot for the reply, I have tried using the page.wait method as well, but in vain. The application uses AJAX,and at most times opens up modal windows, so actually you are still on the same page. Also, We call this function bWaitTimeOut as in the post, whenever we a navigating across pages, and after that we create the object using the NativeWebObject.Find method, in which we check whether the object exists, enabled, VisibleOnScreen, and then perform the operation on the object. Basically, we are trying to avoid Hard Coded wait, but instead use dynamic wait and wait only until required. Are there any other alternatives to this? Basically, what you have mentioned in your reply should work, but it is not working as we have tried it earlier :(, so any other ideas/suggestion on how we can acheive this dynamic wait for objects are welcome. :) Thanks, Pramod4.2KViews0likes0CommentsTest Complete does not wait until the entire Page/Frame is loaded even though we wait for the ready state to be complete
Hi, We have an issue where Test Complete performs operation on an object even before the entire Page/Frame is loaded. We have put in a function that checks and waits until the readystate of the page/frame is complete. After this step we click on the object, but most of the times testcomplete does not end up clicking on the item as the page/frame is not completely loaded. Due to this all our scripts are failing due to Sync issues. We do not want to add in a Hard Coded Wait, so please let me know if you have any suggestions on how we can implement a solution to this issue.We also have a while loop that waits for the object until it exists or a max delay timeout is reached. so we are waiting for the object to be VisibleOnScreen as well,but still we are facing this sync issue. PLEASE HELP..KINDA URGENT... Thanks, Pramod Please find the code for the WaitTimeOut function below. Function bWaitTimeOut() On Error Resume Next Dim intStopTime Dim arrFrames,objFrame Dim intCounter, bWaitStatus bWaitTimeOut = True bWaitStatus = False intStopTime = GetTickCount() + gdblMaxDelayTime Do While GetTickCount() < intStopTime arrFrames = uobjPage.FindAllChildren("ObjectType", "Frame", 5, True) If UBound(arrFrames) >= 0 Then bWaitStatus = False For intCounter = 0 To UBound(arrFrames) Set objFrame = arrFrames(intCounter) If objFrame.Exists And objFrame.contentDocument.readyState <> "complete" Then bWaitStatus = True Exit For End If Next aqUtils.Delay(100) Else bWaitStatus = False If uobjPage.Exists And uobjPage.readyState <> "complete" Then 'If Sys.Process(gstrBrowserType).readyState <> "complete" Then bWaitStatus = True End If aqUtils.Delay(100) End If If Not bWaitStatus Then Exit Do End If Loop 'Wait for the page to be completely loaded uobjPage.Wait If Err.Number <> 0 Then bWaitTimeOut = False End FunctionSolved9.8KViews0likes5Comments