The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  WinRunner
  getting acquainted with WinRunner

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   getting acquainted with WinRunner
witchcrop
Moderator

Posts: 235
Registered: May 2002

posted 06-25-2002 08:32 PM     Click Here to See the Profile for witchcrop   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by witchcrop
Whola!

I am curretly using SilkTest tool to perform the automation testing. We have recently got a Winrunner copy at our company. I want to know the best way of goin about getting myself acquainted with Winrunner. I also want to know whether the fact that i have worked on SilkTest will help me speed up the process.

------------------
never say die

IP Logged

cranem451
Guru

Posts: 395
Registered: Mar 2002

posted 06-26-2002 12:48 AM     Click Here to See the Profile for cranem451   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cranem451
Link to example code: 17167244.zip

I use Notepad as the application I test against. It's a simple program but has many of the objects you need to test, static text textbox, drop down lists, checkbox, radiobutton, command buttons, menuitems, etc.

Once you understand how to do it in a simple program you can add VB, ActiveX, Web, etc. to the mix.

Writing good code takes knowing how the test tool works and how to overcome it's quirks.

See Example Code...

Context sensitive errors can be overcome with good coding...

Oh I almost forgot:

These don't do the same thing even though it might sound like it in the on-line help!
"win_activate" and "set_Window" do similare things but are different!

"win_activate" makes the specified window the active window by bringing it into focus and raising it to the top of the display (equivalent to clicking on the window banner). All subsequent input is submitted to this window, keystrokes go to the Window not and object.

"set_window" secifies the window to receive subsequent input (TSL functions). You might still need to "win_activate" to send keystrokes to a Window or get some TSL functions to work properly.

Always use set_window before performing TSL functions on an object in a Window.

Always use win_activate before sending keystrokes (analog mode) to a Window.

Always "set_window" before "win_activate".
Even though the recorder does it the other way. A win_activate will NOT wait for the window to exist.

[This message has been edited by cranem451 (edited 07-20-2002).]

IP Logged

witchcrop
Moderator

Posts: 235
Registered: May 2002

posted 06-26-2002 01:31 AM     Click Here to See the Profile for witchcrop   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by witchcrop
Hi Marc,

Thanks a bunch

------------------
never say die

IP Logged

Charles Reace
Advanced Guru

Posts: 1299
Registered: May 2001

posted 06-26-2002 07:13 AM     Click Here to See the Profile for Charles Reace   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Charles Reace Visit Charles Reace's Homepage!
Also, the tutorial which comes with WR is pretty good and worth going through.

------------------
Charles Reace

charles{DOT}reace{AT}verizon{DOT}net

IP Logged

CPFineos
Member

Posts: 61
Registered: Aug 2001

posted 06-26-2002 09:17 AM     Click Here to See the Profile for CPFineos   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by CPFineos Visit CPFineos's Homepage!
Hi there,

I have used both WinRunner & SilkTest and I didn't find it too difficult to get used to Winrunner. As someone suggested going through the tutorials. This is a good place to start. Try get to grips with the TSL language. There are also many more wizards in Winrunner to help you work than there are in SilkTest. Good Luck.

Cheers,
Conor

------------------

IP Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c