Automation support for WXwidgets C++ Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
sandi_siva
Earned a small fee
Earned a small fee
Posts: 10
Joined: Tue Apr 03, 2007 4:04 am

Automation support for WXwidgets C++

Post by sandi_siva » Tue Apr 03, 2007 5:15 am

HI ,
We are basically trying to automate an applcation which is designed using wxwidgets - C++.
I have tried Perl GUI test automation .But it didnt work.

Can somebody please help us in giving a solution for this.
Is there any automation tool avialable for this?javascript:emoticon(':idea:')
Idea


Thanks in Advance
Sandeep.Sivanandan

geralds
I live to help wx-kind
I live to help wx-kind
Posts: 186
Joined: Tue Nov 01, 2005 9:22 am
Contact:

Post by geralds » Tue Apr 03, 2007 9:47 am


sandi_siva
Earned a small fee
Earned a small fee
Posts: 10
Joined: Tue Apr 03, 2007 4:04 am

Post by sandi_siva » Tue Apr 03, 2007 12:51 pm

Thanks for the Help.
But IPC is used for Socket level programming.
I would like to do automation framework for wxwidgets.which is mainly an application designed by C++.

Is wxperl helpful.?



-sandeep

JSThePatriot
Earned some good credits
Earned some good credits
Posts: 146
Joined: Sun Nov 26, 2006 7:37 am
Location: Tennessee, USA
Contact:

Post by JSThePatriot » Wed Apr 04, 2007 2:31 am

sandi_siva wrote:Thanks for the Help.
But IPC is used for Socket level programming.
I would like to do automation framework for wxwidgets.which is mainly an application designed by C++.

Is wxperl helpful.?



-sandeep
When you say automation framework what exactly are you interested in?
Is it going to be used on Windows, or are you more interested in Cross-Platform?
Is the application complete, and you are wanting to automate it after it has been compiled, or are you wanting to "include" scripting capabilities into your application?

What I would recommend you look into is AutoIt. This is an excellent automation language. It is unfortunately windows only. It however does a wonderful job.

Let me know if that's what you are interested in. If you have any questions about it the Forum there is amazing. It also has the best helpfile I have ever seen. I am JSThePatriot there as well.

JS

sandi_siva
Earned a small fee
Earned a small fee
Posts: 10
Joined: Tue Apr 03, 2007 4:04 am

Post by sandi_siva » Wed Apr 04, 2007 3:42 am

Thanks for the wonderful Help..
i ll try more on exploring it...


Yes the whole application is built up.I want to do Testing the application by automation.The whole thing is currently going to be on Windows.

ONe more doubt :(may be stupid)

I beleive it will be definetly working on wxwidgets platform application?

THanks
-sandeep

sandi_siva
Earned a small fee
Earned a small fee
Posts: 10
Joined: Tue Apr 03, 2007 4:04 am

Post by sandi_siva » Wed Apr 04, 2007 10:35 am

HI,
As i am doing an automation for an application.There is a small problem that i am facing.i am doing it using Autoit(Wonderful help from a friend)javascript:emoticon(':D')
Very Happy
When the whole result is obtained, i would like to do a "bitmap' or "image" comparison for validation purpose.

I am not able to that ..
Any help would be really appreciated.


Thaks
sandeep

JSThePatriot
Earned some good credits
Earned some good credits
Posts: 146
Joined: Sun Nov 26, 2006 7:37 am
Location: Tennessee, USA
Contact:

Post by JSThePatriot » Wed Apr 04, 2007 10:55 pm

sandi_siva wrote:HI,
As i am doing an automation for an application.There is a small problem that i am facing.i am doing it using Autoit(Wonderful help from a friend)javascript:emoticon(':D')
Very Happy
When the whole result is obtained, i would like to do a "bitmap' or "image" comparison for validation purpose.

I am not able to that ..
Any help would be really appreciated.


Thaks
sandeep
Well I am very happy that AutoIt has worked out for you. I am not sure, however, about your image problem. Are you thinking of a screenshot? If so AutoIt has several UDF's that would/could help you in that area. If not then please explain further what you are needing.

JS

sandi_siva
Earned a small fee
Earned a small fee
Posts: 10
Joined: Tue Apr 03, 2007 4:04 am

Post by sandi_siva » Thu Apr 05, 2007 4:24 am

HI,
Yes In a way ..thats what i want...
Basically comparing outpot image with the screen shot..

JSThePatriot
Earned some good credits
Earned some good credits
Posts: 146
Joined: Sun Nov 26, 2006 7:37 am
Location: Tennessee, USA
Contact:

Post by JSThePatriot » Thu Apr 05, 2007 7:04 am

sandi_siva wrote:HI,
Yes In a way ..thats what i want...
Basically comparing outpot image with the screen shot..
I saw something in the Example Scripts forum today about a screenshot UDF or something along those lines. Once you have the screenshot you can then use Pixel*() functions to check whether the graphics are the same.

JS

sandi_siva
Earned a small fee
Earned a small fee
Posts: 10
Joined: Tue Apr 03, 2007 4:04 am

Post by sandi_siva » Thu Apr 05, 2007 7:08 am

Cool...right now thats a secondry option..
We have to automate funstionality of the application currently

But a Thanks a Zillion for a great help...

JSThePatriot
Earned some good credits
Earned some good credits
Posts: 146
Joined: Sun Nov 26, 2006 7:37 am
Location: Tennessee, USA
Contact:

Post by JSThePatriot » Thu Apr 05, 2007 7:43 am

sandi_siva wrote:Cool...right now thats a secondry option..
We have to automate funstionality of the application currently

But a Thanks a Zillion for a great help...
No problem. You can mark the topic as solved if you like, and certainly feel free to PM me with any more AutoIt issues you may have, or post in the forums there for tons of help!

JS

Post Reply