Jump to content

How to get the error Handling of Autoit commands integrated with Robot Framework?


Recommended Posts

Hi All,

Setup: I am using robot Framework with Autoit-Library to perform some button operations in my application.

Issue statement: Even though if fails to click on some button, Test case says PASSED.

Question: How do I get the return error if some operation fails to click? 

Note: I am running the test case from robot framework. Please see the attachments.

I am new to autoit and Robot framework. Kindly let me know how can I proceed further.

Thanks in advance !!

 

Gopi

RF_AutoitLib.PNG

Link to comment
Share on other sites

are you testing the return of the controlclick function, or are you testing the result of that control being selected?  Those are two very different animals. 

And it makes it much easier if you just paste the code, also if you have the unit test defined that description would help.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...