Jump to content

Mahesh123

Members
  • Posts

    6
  • Joined

  • Last visited

Mahesh123's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi All, Anybody got a chance to look into this query Mahesh
  2. @JLogan3o13 : Sorry. I was trying to edit some stuff in original post.. But could not find a way. That's why re-posted
  3. <pointless repost of original content deleted> @Mahesh123 please wait 24 hours before bumping your thread, and please don't simply quote everything you already said - it needlessly pads the thread.
  4. Hi, In continuation with this script. I have the following problem Desperately looking for a solution here. I have the following script in UFT which is working fine. However I want to substitute this hard coded parameter by variables rpdate & date. I have tried with lot of options here. but not able to call the autoit exe file. Dim rpdate Dim LegalEntity LegalEntity = 36004367 rpdate = "28-02-2017" 'Legal_entity_Id = "36000586" path = "H:\Sprint\Automation\Corepautomate.exe" Set oAutoIt = CreateObject("AutoItX3.Control") oAutoIt.Run("H:\Sprint\Automation\Corepautomate.exe 28-02-2017 36004367") The autoit script is which is also working fine. If $CmdLine[0] = 2 Then ; No need to use "Call" - just name the function and pass the parameters corep_reports($CmdLine[1], $CmdLine[2]) EndIf Func corep_reports($rpdate, $legalentity) ------------------------------ ------------------------- EndFunc
  5. HI Guys, Desperately looking for a solution here. I have the following script in UFT which is working fine. However I want to substitute this hard coded parameter by variables rpdate & LegalEntity . I have tried with lot of options here. but not able to call the autoit exe file. Dim rpdate Dim LegalEntity LegalEntity = 36004367 rpdate = "28-02-2017" 'Legal_entity_Id = "36000586" path = "H:\Sprint\Automation\Corepautomate.exe" Set oAutoIt = CreateObject("AutoItX3.Control") oAutoIt.Run("H:\Sprint\Automation\Corepautomate.exe 28-02-2017 36004367") The autoit script is which is also working fine. If $CmdLine[0] = 2 Then ; No need to use "Call" - just name the function and pass the parameters corep_reports($CmdLine[1], $CmdLine[2]) EndIf Func corep_reports($rpdate, $legalentity) ------------------------------ ------------------------- EndFunc
×
×
  • Create New...