Micro Focus QTP (UFT) Forums

Full Version: how to enable webedit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In my application webedit is disabled and unless i click on that particular text field i cannot edit the value..for windows application as far as i know i think we can use " Type micTab"

Please suggest me the solution for webapplication

As shown in the screenshot mouse cursor is pointed to MR NO field and i want this should set to First Name field and then i must proceed editing the values further..
I think FireEvent "Click" for the webedit "First Name" works
Fireevent mouse click is not working here...
Hi,
Can u plz try this ...either of these should work

Code:
Browser(..).Page(..).WebEdit("firstname").FireEvent "onkeydown"

or
Code:
Browser(..).Page(..).WebEdit("firstname").Object.Focus
Hi vIns...Thanks for the reply..i have used both the properties/methods but its still not working..

screenshot attached for reference
Hi..
The above method will work fine to set the focus. But the error message says that the textbox itself is disabled.
is it possible for u to attach the HTML source code of the page / just for the firstname control?
Try this:
Code:
Browser("").Page("").WebEdit("").FireEvent "ondblclick"
Hi VIns...please find the attachment

Dear Satish,
You seem to have those controls inside the frame and you havent attached the corresponding source code.
But from the error message, the textbox seems to be readonly.

Plz try this ..If it does not work..I m sorry.

Code:
Browser(..).Page(..).Frame(..).WebEdit(..).Object.readonly = false
Hi VIns..i'm sorry as right click is not working in the particular page..its working only in the top menu...thatz the reason i have attachd incorrect file

anyway thanks...