Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error message 'Invalid Arguments '
#1
Hi everyone am new this forum and also for automation am working on a Windows application.
QTP 9.5, Add-ins: WPF, .NET, ActiveX, Visual Basic. Windows based application C# .net. XP platform with SP3.
If I record and play back the login operation,the script is working fine but if type the same script and on running the script a error message is coming saying “Invalid arguments”.
Can anyone help out why this error message is coming?
Reply
#2
Can you please post your script?
Reply
#3
Thanks

The error is coming on invoking application itself the line of code is

Code:
SystemUtil.Run "C:\RelyonSoft\TPSIndia\SaralOffice.exe","C:\RelyonSoft\TPSIndia\" ,"open" SwfWindow("Information").Close


A splash screen comes and goes on launching application. But now as the splash screen comes the message box is coming with message "Invalid arguments"

please find attachment.


Attached Files Image(s)
   
Reply
#4
Try adding a sync statement till the page loads. Once the page is loaded, you can then use close statement.
You can also add a check statement(IF ...Else) to see if the information window really exists?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Invalid file error importing xls file Makhado 0 1,818 10-04-2018, 04:33 PM
Last Post: Makhado
  Help for instruction to click on Skip button in the warning message vijilesh 0 1,958 09-16-2018, 03:48 PM
Last Post: vijilesh
  The DataTable.ExportSheet operation failed. Invalid file. Niraj 2 6,976 05-05-2015, 11:40 PM
Last Post: babu123
  Invalid File error importing a spreadsheet but only on a VM msacks 1 3,247 10-19-2014, 09:04 PM
Last Post: supputuri
  recovery scenario for closing a message box itself ashima 0 2,539 12-26-2013, 11:10 AM
Last Post: ashima

Forum Jump:


Users browsing this thread: 1 Guest(s)