Jump to content
Gopi

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

Recommended Posts

Gopi

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

Share this post


Link to post
Share on other sites
Danp2

You'll need to help us help you by providing additional details, such as --

  • What is RIDE / Robot Framework? Provide link(s) to these resources.
  • Show your Autoit code.
  • Show an example of how you are calling this code from the testing framework
  • Like 1

Share this post


Link to post
Share on other sites
Earthshine

Shouldn’t you be using Java or python to do the testing


My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
iamtheky
Posted (edited)

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

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

Share this post


Link to post
Share on other sites
Gopi

Thanks much guys for the response. I have fixed it. This is achieved via Robot Framework.

Share this post


Link to post
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

×