ContributionsMost RecentMost LikesSolutionsWhy except block won't executed when an error occurs within try block? I am testing window application, and use try...except...finally to catch errors during run script test. But now it won't execute except block when an error occurs within try block, please refer to attached scripts and screenshot for more details. SolvedRe: how to continue tested if one operation take long time? Thanks a lot. Because the batch jobs was perform in specify time, so i will try it when i can run batch jobs. Re: how to continue tested if one operation take long time? 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. 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. Re: how to focus on specific screen if there exists two same window application screen I don't understand what you means, and how to map two window in different way. And i use Object Spy to obtain Member Type field's properties of both two window, the MappedName property are same, the Fullname property are different, so i am using Fullname property as object name, but the response time is very long, do you know any other method to resolve this question. Pls refer to the attached screenshot for more details. Re: how to focus on specific screen if there exists two same window application screen The MappedName of "Add Dependent" and "New Member" window both are "Aliases.Caesar.CSR_MAIN.MDIClient.MRMEMBMNT01", so when i playback the Add Dependent operation, it will always focus on "New Member" window and failure. Please refer to the screenshot for more details. And if i use the Fullname property as Add Dependent operation's object name, it can playback the Add Dependent operation successfully, but each operation's response time is very long, each operation take about 12 sec. I have not found better way to resolve my question, can you help to check it. Thanks! Re: how to specify the screenshot's name?I have resolved my question, thanks a lot. I use the Log.Patch method to get the path, and save the screenshot to this path. def test(): sPath = Log.Path Aliases.MyApp.MyObject.Picture().SaveToFile(sPath + "Case1_Customer.JPG")Re: how to specify the screenshot's name?Aliases.MyApp.MyObject.Picture().SaveToFile('MyPictureFile.JPG') This method will name the screenshot and save to the specify path. So i have another question, can save the rename screenshot to the default log path instead of the specify path?how to specify the screenshot's name? Used "Post Screenshot" to capture a screenshot After executed the case, it will generate the log and screenshot, we notice that the screenshot's name default as "Picture 1/2/3", can we specify the screenshot name like this: Case no.1 - Customer, Case no.2 - Contract. Pls refer to the attached screenshot for more detail. SolvedRe: how to focus on specific screen if there exists two same window application screen Still cannot work, it will prompt the message "Python runtime error" and additional info "Runtime error Member not found".