Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to enable webedit
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
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..


Attached Files Image(s)
   
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
I think FireEvent "Click" for the webedit "First Name" works
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Fireevent mouse click is not working here...
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
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
Reply
#5
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi vIns...Thanks for the reply..i have used both the properties/methods but its still not working..

screenshot attached for reference


Attached Files Image(s)
   
Reply
#6
Solved: 11 Years, 3 Months, 4 Weeks ago
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?
Reply
#7
Solved: 11 Years, 3 Months, 4 Weeks ago
Try this:
Code:
Browser("").Page("").WebEdit("").FireEvent "ondblclick"
Reply
#8
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi VIns...please find the attachment



Attached Files
.txt   generalTopBanner[1].txt (Size: 23.22 KB / Downloads: 220)
Reply
#9
Solved: 11 Years, 3 Months, 4 Weeks ago
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
Reply
#10
Solved: 11 Years, 3 Months, 4 Weeks ago
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...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Button wont enable mv8167 9 10,006 12-11-2012, 03:00 PM
Last Post: Ankesh
  Enable Hyperlink without opening the Excel Sathiya 11 7,112 05-31-2012, 04:41 PM
Last Post: Sathiya
Cool how to re-enable Keyword tab dol_fin 2 4,860 03-05-2012, 11:23 AM
Last Post: Saajo87
  Enable to record script for web application shailesh 3 5,189 07-01-2011, 12:38 PM
Last Post: shailesh
  How to enable web add-in in QTP Pallaviv 2 4,736 10-03-2009, 04:14 AM
Last Post: Pallaviv

Forum Jump:


Users browsing this thread: 1 Guest(s)