• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java for GUI automation

 
Prashanth Sivarajan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have to come up with a plan for test automation for a product. The product is gui based and involves working in both Jframes and the windows control panel. I obviously don't have the source code.

I was thinking of getting the window handle and doing some record and playback kind of work. The product works on various OS like Linux and solaris. Is there a concept of window handles in solaris also? if there is, how to get them and manipulate the selection of buttons etc? please help.

Thanks
Prashanth
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you mean by "window handles", but the java.awt.Robot class can be used for automating GUI tasks, especially for testing purposes.
 
Prashanth Sivarajan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a "handle" (some kind of identifier) for every window that opens in windows.
THe robot you were mentioning...can it record even the win32 windows thats written in C# or VC++ ?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, Robot works with Java GUI components only.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!