| || |
Image and Link Recognition
I have the following lines in my script:
HTMLImage Click, "Type=HTMLImage;HTMLTitle=Add Selected", "Coords=7,7"
ListBox Click, "Type=ListBox;Name=fePstnsToAdd", "Text=Vice President--Government Relations : Corporate"
HTMLImage Click, "Type=HTMLImage;HTMLTitle=Remove Selected", "Coords=7,9"
The first line works to click on the Add Selected image but the second one does nothing. Why??? Does it need something besides Title to recognize the image? If so, why does the first one work?
When I run a shell script, the second script in my list starts out with the following lines:
Window SetContext, "WindowTag=WEBBrowser", ""
Browser SetFrame,"Type=HTMLFrame;HTMLId=base1;\;Type=HTMLF rame;HTMLId=content",""
Browser NewPage,"HTMLTitle=Project Details",""
HTML Click, "Type=HTMLTableCell;HTMLId=DetProjParam", "Coords=58,34"
HTML Click, "Type=HTMLTableCell;HTMLId=MenuDetProjParam2", "Coords=32,18"
The first HTML click opens a drop down menu and the second chooses the item in the menu we want. When this script is run on its own, everything works fine but when I run it as part of the shell script, the first HTML click opens the menu briefly but then it closes. Why would this work on its own but not part of a shell script? This is not the only instance of this either, I have other shell scripts that do the same thing.
Re: Image and Link Recognition
If you are working on the same menu, why is the HTMLID different for click 1 and click 2?
- WJM -