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
  spawning another thread or process from 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:   spawning another thread or process from winrunner
fletch41
Member

Posts: 73
Registered: Oct 2001

posted 08-06-2002 06:17 AM     Click Here to See the Profile for fletch41   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by fletch41
User lee rector (lrector@powerwayinc.com.nospam) posted:

------_=_NextPart_001_01C23D4B.CC957BD8
Content-Type: text/plain;
charset="iso-8859-1"

limitations of winrunner dialog windows will probably force me to write an
VB exe(form with editboxes, checkboxes, radio buttons, labels and notes
text).

Does Winrunner have reserved functions for spawning a
synchronous/asynchronous thread(ie. pushing OK
on the VB dialog writes data to registry and closes the vb app.--->then
returns to the winrunner
script). Of course, I will need to hold up the winrunner script until the vb
window closes.

thanks, please send me any tips
Lee
MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT
IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL
AND EXEMPT FROM DISCLOSURE. If the reader of this message is not the
recipient or an employee or agent responsible for delivering the message to
the intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited. If
you have received this communication in error, please notify the sender
immediately by E-Mail and return the original message to the sender. Thank
you.

------_=_NextPart_001_01C23D4B.CC957BD8
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



< !-- |**|begin egp html banner|**| -->


IP Logged

romanz
Guru

Posts: 358
Registered: Jun 2002

posted 08-06-2002 06:26 AM     Click Here to See the Profile for romanz   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by romanz Visit romanz's Homepage!
User Roman Zilber (romanz@enigma.com.nospam) posted:

------_=_NextPart_001_01C23D4D.00DB1890
Content-Type: text/plain;
charset="iso-8859-1"

I did it with html dialogs, it's easer, flexible for changes, nice, of
course html have some limitation for ex, you can't select folder in file
dialog.
With vbscript I saved values of the dialog in log file in format:
var=value
For synchronizing I use loop with checking title of the window (click on OK
change the title).
If you are ineresting I can send an example WR code + dialog
Roman.


IP Logged

bpolitzer
Guru

Posts: 352
Registered: Jun 2002

posted 08-06-2002 07:52 AM     Click Here to See the Profile for bpolitzer   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by bpolitzer
Can your VB utility be launched with command line arguments? In other words, forget about the OK button, just have the utility do its job after launching, and pass in any needed arguments via command line. Then invoke the utility with the dos_system command. WinRunner execution will be suspended until the process spawned by dos_system is complete.

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

IP Logged

cranem451
Guru

Posts: 395
Registered: Mar 2002

posted 08-06-2002 05:40 PM     Click Here to See the Profile for cranem451   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cranem451
WinBatch might be a better solution.

Search previous Topics for more info.

Link to sample code: 1707006.zip

This will open a dialog with radio buttons , Checkbox, and command buttons.

It positions the WinRunner Print Log in One of Four positions on the screen and resizes it.

You can get a 30 day trial version at the WinBatch Web Site.

Search previous Topics for more info.

------------------
cranem451 - cranem@addendum.com

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

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