We have Winrunner 6.02 installed on a pc along with Test Director 6.02. The version of Internet Explorer which is installed is 5.5 and all this is running on Windows 2000.
Whenever we try to execute a script or run through testdirector the script is failing whenever its encounters a LIST_SELECT_ITEM statement. The script fails with the error message
Window : Allstate Insurance Company
Object : StudOffDenLibs
Error : Object is not currently Displayed.
If I do an object find in the gui map the map resolves to the object StudOffDenLibs which it says isnt currently displayed.
If I run the same script down to the same point but place a stop point before the List_Select_Item command and then step through the command manually the script runs fine and selects the necessary item from the drop down list.
I'd appreciate any information you could give me to try and resolve this problem
It could possibly just be a timing issue. You may need to add some code to wait for it to display, such as:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">set_window("Allstate Insurace Company", 10);
rc = obj_wait_info("StudOffDenLibs", "displayed", TRUE, 10);
if(rc != E_OK)
# report/handle missing object
list_select_item("StudOffDenLibs", "some_item"</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">