| || |
Problems with desktop_capture_bitmap
I'm having issues using this WinRunner function in a called test in batch mode.
I call a main test (call "test A"() that includes many other tests (test aa, test ab, test ac, and so on and so on ...). In order to manage errors, I have created a test "on_error" that contains the function desktop_capture_bitmap.
Concretely, if the "on_error" test is called I have:
test A() => test aa() if test aa returns "Fail" then test A() calls on_error() that captures a screenshot with the error.
And here is my problem: on every reports I get the error "Cannot locate image file" with no image existing in the exp folder.
I tried different things and it still doesn't work.
I hope you'll be able to help me!
ps: excuse my english... I'm french [img]/images/graemlins/smile.gif[/img]
Re: Problems with desktop_capture_bitmap
Grobert, I think that this old thread does talk about your problem: