Ask a Question

how to continue tested if one operation take long time?

Hardy
Occasional Contributor

how to continue tested if one operation take long time?

During testing, if one operation take long response time to execute(over 2 hours), the next operation will failure, so how to continue to next operation successfully even if last operation take long response time.

4 REPLIES 4
baxatob
Community Hero

Nothing is clear:

- why the first operation takes a long time? Is it normal for your application or it's a bug?

- what kind of failure happens in the case above? 

Please describe your test in details.

Hardy
Occasional Contributor

Sorry for the unclear description.

The first operation is: click on Execute button, it will perform batch jobs and takes a long time to completed, and it will popup the successfully window after batch jobs completed.

The next operation is: click on Yes button in the successfully window.

 

The first operation takes a long time is normally behavior.

The next operation failure with Auto-wait timeout(10s) error. 

baxatob
Community Hero

You can create a simple wait operation based on the While loop:

 

yourApp.buttonExecute.Click()

While
yourApp.buttonYES.Exists != True: aqUtils.Delay(1000)

yourApp.buttonYES.Click()
Hardy
Occasional Contributor

Thanks a lot. Because the batch jobs was perform in specify time, so i will try it when i can run batch jobs.

cancel
Showing results for 
Search instead for 
Did you mean: