Micro Focus QTP (UFT) Forums
How to find the error is related to VbScript frienly name or not? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to find the error is related to VbScript frienly name or not? (/Thread-How-to-find-the-error-is-related-to-VbScript-frienly-name-or-not)



How to find the error is related to VbScript frienly name or not? - Uma - 10-08-2011

Hi,
I am using 2 excel sheet.First excel sheet works fine with the script,
if it opens the 2nd excel sheet,it works fine,but after finish all the rows
it is giving the following error in the following line.

InValid Procedure call or argument

Line (178):
Code:
"Browser("name:="&result,"application version:=internet explorer 7").Page("title:=bgt.*", "index:=0").WebList("name:=SearchType","html id:=Select1","location:=0").Select SearchType1".

I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument

not sure,Am I using any VBScript frienlyName?
[but the same line is perfecly working for first Excel ]
It is little urgent.
Any Help
Thanks you
Uma