Micro Focus QTP (UFT) Forums
I am not able to set the value in Web Edit box using QTP 11. - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: I am not able to set the value in Web Edit box using QTP 11. (/Thread-I-am-not-able-to-set-the-value-in-Web-Edit-box-using-QTP-11)



I am not able to set the value in Web Edit box using QTP 11. - meghna.gandhi24 - 08-26-2013

Hi Ankur,

I am in real need of your help.

I am using QTP 11.

What I want to do is to set the value in Web-Edit box, which is in actual convert into web list box while we enter any value, To solve this : I have tried following:

1. I have used Send key option ___ but it's not working..
2. Since this object is not supporting .type method, I have used Object.innertext method, although value is showing in Web-Edit box, I am still getting message from web site that : "Please enter value"
3. I have also tried some other approach, like using .set method twice,using some logic, but none of the things, worked out.

I am in need for your help to fix this problem as it is work blocking for me. Kindly let me know if you need any further information


RE: I am not able to set the value in Web Edit box using QTP 11. - GregHicks - 08-26-2013

hi

without seeing what you have tried, its harder to suggest what is going on.

Can you send a screen grab of the object, the OR properties and some code you have tried?

It would help us help you.


RE: I am not able to set the value in Web Edit box using QTP 11. - vinod123 - 08-28-2013

Code:
Browser("micclass:=Browser").Page(micclass:=Page).WebEdit("name:=use the name of the webedit").Set "text which you want to set"