Hi I am a truly newbie with winrunner... I did the tutorial manual and I still have some application related questions
1) If i have a drop down menu with 10 alternative... How do I test that all my alternatives are acutally present in my drop down menu. any ideas??
2) What are the wild cards for Winrunner, I read the # and ? are wildcards is that true?
3) My applcation has a login window, the UserName and Password field is not being recognize everytime I Playback... it does record without a problems but when I play back it needs to relearn the fields every single itme... I also played witht he coordinates and nothing seem to be helping winrunner...
For point 1. Use function read more about function starting with list_
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">list_get_info(pi_strCombo,"count& quot;,intListCount); # Get the total number of items in list
for(i=0;i<=intListCount;i++) # Select the desiered item from list
if (toupper(strListItem)==toupper(pi_strItem)) # in a loop replace pi_strItem with your known items
pause(strFound);</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">Point 2. I dont think so as i dont know i what context you are asking, look for help of this function create_browse_file_dialog
Point 3. Whats the environment of your application? also check the physical description of objects which are not recognised with previously recorded object, does it change?
Hi I too am a newbie with winrunner.....
my question is:
i'm trying to create a WinRunner Script for an VB appln.
And whn i try to select a DropDown list WinRunner Detects it as:
win_mouse_click ("DataComboListWndClass", 76, 6);
Is there anyway i can Select a particular value from the ComboBox??