Search the Community
Showing results for tags 'fireevent'.
-
This website has an image on it that displays different info in a tool tip depending on where you mouse. I want to get all the tool tip data for all the areas of the the image. This tag has the tool tip info I want in it after it has moused over an area of the image but not all the data. <div class="viewportPopup" I believe that that I can use $oElement.fireEvent("onmouseover") on each element that will display a tool tip and then get the data from the above tag. My problem is I don't know how to get the right elements to use the .fireEvent("onmouseover") on. Any help in the right direction would be appreciated.
-
I use IE in for next loop to set value in INPUT and search something on the web when site take me back response then I read what I need and back to home site and again set value .... $oIE_aspnetForm = _IEGetObjById($oIE, "aspnetForm") $oIE_aspnetForm_ctl00_MainContent_txtAdvPesel = _IEFormElementGetObjByName($oIE_aspnetForm, "ctl00$MainContent$txtAdvPesel") ;When I use Consolewrite(isobj($oIE_aspnetForm_ctl00_MainContent_txtAdvPesel) & @CRLF) ;then result is always = 1 ;I Check to be sure that I have taken correct OBJ Consolewrite($oIE_aspnetForm_ctl00_MainContent_txtAdvPesel.name & @CRLF) ;then result is always = ctl00$MainContent$txtAdvPesel ;so why not always but very often ;this function _IEFormElementSetValue($oIE_aspnetForm_ctl00_MainContent_txtAdvPesel, $s_new_value, 1) ; return to me that error I do severals test by adding sleep - do not take any diffrence trying to _IEAction($oIE_aspnetForm_ctl00_MainContent_txtAdvPesel,"click") - before SetValue trying to _IEAction($oIE_aspnetForm_ctl00_MainContent_txtAdvPesel,"focus") - before SetValue Click And Focus give me back that same errors When I start again "For ... to ..." then its can do for example 50 more steps and crash sometimes do only 10 step somtimes 30 steps a