Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GUI MAP Problem

Status
Not open for further replies.

121854

MIS
Aug 2, 2003
60
US
Can someone help me? When using the win runner recording mode to record all the keystrokes and define the objects to add customers, change addresses and makes notes in their profile, I'm avable to record, test and executed what I recorded. It works great. I save the script and the GUI MAP configuration. Then I sign off from win runner.

However, when I come back to the script and load the script and GUI Map ... it doesn't work. I have to define all the GUI configuration MAP objects again.

What I'm doing wrong.. that after all the testing and debuging and saving it... the next day doesn't work.

Suggestions please.


 
This may be the most basic suggestion. Are you actually loading the GUI file in your WR script?

If you are, check the Windows location where you saved it and make sure it is still there.

Look out for the file paths on WR: remember it needs \\ rather than \ as the file path separator.

Hope this helps
David

[joinedupwriting]
"whaddaya mean, 'invalid tag'?!?"
[/joinedupwriting]

[lightsaber]
 
Try Closing all the GUI Map files before loading the new GUI Files (by issuing GUI_close_all() function in the script).

Also try by closing the temporary GUI Map File (by issuing GUI_close("<temporary>") function in the script).

I assume that you've saved the GUI Map file and loaded the GUI Map file. For checking this, use somewhat like below to check out the GUI Map file has been loaded successfully.

sGUILoadStatus = GUI_load("<your_gui_file_name_here>");
pause(sGUILoadStatus);

If this messages 0, i.e sGUILoadStatus is E_OK, then the GUI Map file has been loaded.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top