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
  difference b/w GUI_buff and GUI_map cmds

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:   difference b/w GUI_buff and GUI_map cmds
freefree
Member

Posts: 51
Registered: Jan 2002

posted 07-14-2002 10:15 PM     Click Here to See the Profile for freefree   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by freefree Visit freefree's Homepage!
What is the difference b/w GUI_buf_get_desc
and GUI_map_get_desc? I have checke dthe documentation, their description is same.
CAn anyone help me in that?


Thanks

IP Logged

cranem451
Guru

Posts: 395
Registered: Mar 2002

posted 07-15-2002 12:50 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: 16845037.zip

Here goes...

This is used to get info from a GUI file loaded into memory.
GUI_buf_get_desc();
Gets the "Physical Description" from the GUI map file and object you specify.

GUI_buf_get_desc ( "C:\\a.gui", "Untitled - Notepad", "Edit", out_desc );

out_desc contains "{class: \"edit\"}"
.
.
.
This is used to get info from a GUI file stored on the hard drive.
GUI_map_get_desc():
Gets the "Physical Description" and "file name" from a loaded GUI map.

GUI_map_get_desc ( "Untitled - Notepad", "Edit", out_desc, out_file );

out_desc contains "{class: \"edit\"}"

out_file contains "C:\\a.gui"

P.S.
I have been written WinRunner test scripts for over 8 years and have never used these commands. They are for people who like to make things complicated...(job security)

The only GUI commands I need to use are listed in example code.

You can swat a fly with a sledge hammer, but another tool works better, costs less, and does less damage...

[This message has been edited by cranem451 (edited 07-20-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