Micro Focus QTP (UFT) Forums
Error "The parameter is incorrect" - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Error "The parameter is incorrect" (/Thread-Error-The-parameter-is-incorrect)



Error "The parameter is incorrect" - sepgs2004 - 05-19-2009

For a text input field, in the excel data table, I do not have any value. It is just empty. But in QTP test script, it sets the value (from the data) anyways. Since this is not a required field, sometimes values will be given.

Following line throws this error "The parameter is incorrect":
Code:
Browser("Browser").Page("Page").WebEdit("text_input_field").Set ValuesSheet.cells(row,"C").value

I am running this test on Mozilla Firefox 2.0.x. I do not remember getting this error in IE.

Suggestions?

Thanks.
Yes, I do not get this error in Internet Explorer.