Micro Focus QTP (UFT) Forums
Parameter 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: Parameter incorrect (/Thread-Parameter-incorrect)



Parameter incorrect - pingaliV - 06-02-2008

Hello All,

I am receiving "the parameter incorrect" error at Login field. I have tried all possible way. But, not able to figure exactly wats the problem.
@line
Code:
Browser("ABC").Page("ABC").WebEdit("loginID").Set "johnSmith"

Any help is appreciated


RE: Parameter incorrect - somisays - 06-03-2008

Hi,
I think there is nothing wrong in your code.
Please check that have you given the correct Login id and also how u are passing the password and also pls check login id object exists in the Object Repository.

Regards
Sridhar


RE: Parameter incorrect - Faisal - 06-03-2008

Hi!

Your code is perfect .No doubt about it .Just check if Login id object is available in your OR file .If not ,please do add it there.Also u can then check the properties of Login id in ur OR and spy the properties of login id in your application .Both should be same .

Give a try once again & good luck .Do let me know if it solves ur problem

Thanks,
Faisal


RE: Parameter incorrect - FredMan - 06-04-2008

Also make sure that the object is visible on the page. Add a wait() statement or WaitProperty method to wait for the object to render fully.