Contributions
Why 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.Solved1.8KViews0likes2CommentsRe: 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.1.3KViews0likes2CommentsRe: 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.1.8KViews0likes0CommentsRe: 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!1.9KViews0likes2CommentsRe: 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?1.9KViews0likes0Commentshow 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.Solved2KViews0likes3Comments