Jump to content

Suhotro

Members
  • Posts

    14
  • Joined

  • Last visited

Suhotro's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. We need to automate Silverlight Application. Can we use AutoIT for the same? If yes then how?
  2. Thanks Dale..I'll try and get back to you on this.
  3. All, I need to store the selected value from a drop down to a variable in a webpage. I can select that value in that combobox using _IEFormElementOptionselect($FundHouse, 2, 1, "byIndex") but after selecting the value I am not able to store it in a variable, Please help.
  4. Dale, Yes I understand that I need to learn more however I never told that by using "word within inner HTML", I meant an entity of HTML. What I meant to click a word stored in inner text. May be it will be again confusing to you.. let me give you one simple example..like suppose my inner HTML is now "Dale is a helpful person. He is a very much knowledgable" Here in this I need to click the word Person. Is it possible to click that using autoIT ? Please let me know what all othet information you need to solve this..
  5. Dale one more thing.... in all the items are comming under $oMenuItem = _IEGetObjById($oIE, "treeview1") Only difference that they have is in level / index. But I am not able to select / click an element based on that idex. Please help. !!
  6. Thanks Dale !! However thats not working. I was just wondering in autoIT is it possible to click a word within inner HTML? if yes then the issue will be resolved as I can capture that word to be clicked as a part of inner HTML but not able to click it. Please suggest !!!
  7. Thanks Dale.. In my application HTML it is comming like this <TABLE id=t1> <TBODY> <TR> <TD> <P> <Treeview id=treeview1> #Comments under this comments I have <iewc:TreeNode NavigateUrl="abc.com" Text="Submit"></iewc:TreeNode>.. which needs to be clicked. I tried to find it with tag <P> -- that was not successful. Please help !!!!
  8. Hi All, In my web aplication I am not able to click a link called Submit. I tried all the possible means like finding the list of links present in the page and then clicking it by _ClicklinkbyText, _IEAction or searching by tag name. While searching with IE Developer tool I came to know that its comming as a part of a comment under: <iewc:> Tag. Which autoIT is not identifying. <iewc:TreeNode NavigateUrl="abc.com" Text="Submit"></iewc:TreeNode> I tried with SysTreeView321 also but no luck. Please help !! Thanks and Regards, Suhotro Bhattacharyya
  9. Thanks Exit !! I have modified your code little bit as per requirement and exectuing that exe, its working fine. a big thank you for giving the idea / code of creating 2 separate processes using AutoIT is really excellent !!!
  10. Thanks agin Exit !! I ran the code and its not working. Your child process is not clicking OK. Let me be specific now such that you understand the problem more clearly: The context of wrapper came to my mind because in my application pop up is not being handled properly (some times it is being handled some times it is not). Main problem is whenever I am selecting a value in my application - which is basically a drop down, it fires onchange event and a pop up is comming. Because of this my autoIT script is getting paused. I tried ControlSend, ControlClick but as my script is getting paused that line is not getting executed and hence that pop up is not being handled properly. I have used AutoIT Window Info to get the proper information of pop up windows. This is a normal internet explorer pop up. Then I thought to use AutoIt wrapper becuase my first process - POPUPHandler.exe will create a pop up handler which will be running first and then my application code will run as a separate process ApplicationCode.exe hence whenever that pop up will appear then it will be taken care by first process POPUPHandler.exe as at that time second process - ApplicationCode.exe is kind of paused. To make the wrapper I have used following code: FileInstall("D:Test ScriptsPOPUPHandler.exe","D:Test Scripts ",1) FileInstall("D:Test ScriptsApplicationCode.exe", "D:Test Scripts",1) Run("D:Test ScriptsPOPUPHandler.exe","",@SW_HIDE) ;This is actually an infinite loop this will be closed by ApplicationCode.exe Run("D:Test ScriptsApplicationCode.exe","",@SW_SHOW) So far it was working fine becuase in my system I have all the 3 files present now my requirment is I need to move just only one file in a different system where I'll not have other 2 files - this is the place where I got stuck. Please see if we can do anything here or not. Thanks a lot for your time.
  11. Sorry Exit !!! I have tested it its not working !!! Please suggest something else Thanks for your time !!!
  12. Thanks Exit !! Yes first and second both are compliled AutoIt scripts. There is no difference in the source and destination systems only thing is we have a restriction of moving only one file not two / more. However I need to have 2 file to create 2 separate process because one will be pop up handler and another is normal application code. Otherwise my script is not able to handle pop up efficiently ....most of the time script is getting paused.
  13. well, initially in autoIt wrapper , say the name of the wrapper is "Wrapper.exe", the code is something like below FileInstall, First.exe, tmpFirst.exeFileInstall, Second.exe, tmpSecond.exeRunWait, tmpFirst.exeRunWait, tmpSecond.exeHence is I have both the file present in the system (First.exe and Second.exe) my Wrapper.exe is running absolutely fine. Now the problem is I need to shift Only One executable file from one system to another here if I shift only wrapper.exe then my code is not working because it is searching for “First.exe” and “Second.exe”. I was under impression that after compiling “Wrapper.Au3” – automatically “First.exe” and “Second.exe” will be associated with “Wrapper.exe” but that is not the case. Please help !!
  14. Hi All, I have an AutoIT executable file. My requirement is I’ll run it once and it will create 2 separate AutoIT executable files and execute them one by one. Is it possible ? The context it I need to handle pop ups for my applications. I have created 2 AutoIT executable files for the same (one will handle pop up by creating a process and other will take care of application) – as long as I have 2 files in my system my code is working fine. Now my requirement got change and I need to shift only one executable file to a different system where I need to execute my entire code. Thanks in advance !! Suhotro Bhattacharyya
×
×
  • Create New...