Getting multiple errors - 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: Getting multiple errors (/Thread-Getting-multiple-errors) |
Getting multiple errors - aminul - 05-01-2013 I am trying to work on someone else Script. its throwing various errors for me . I am sharing the code below and line number 486 throwing all types of error. 1. wrong argument 2. objects cannot find 3. type mismatch please help Code: Function PC_CreatePLan (headerData,ctrlCount) RE: Getting multiple errors - aminul - 05-01-2013 Problem at occuring when I am trying to select (PlanData.Select PlanHeaderDataCtrl(i)) I just tried using SELECT (1).. it works for me for the first item for most of the drop downlist but still getting object now find for two more . and How can I not hardcode the value here ? I want to loop through all RE: Getting multiple errors - Saket - 05-06-2013 Sorry for my ignorance, I dint had a look on the whole script, It will help if you can please point out the line number 486 and what exactly is going on into this script. |