Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with edit box
#7
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Vijay,

Try with the below code.

Code:
Set WbEdit = Description.Create()
WbEdit("micclass").Value = "WebEdit"
WbEdit("html id").Value = "sourceName.*"
Set AllWbEdit = Browser("micclass:=browser").Page("micclass:=Page").ChildObjects(WbEdit)
NumberOfEdits=AllWbEdit.Count
For i=0 to (NumberOfEdits-1)
    if AllWbEdit(i).GetRoproperty("html id")<>"sourceName_0" then
        AllWbEdit(i).Set "Test"
   End if
Next
Reply


Messages In This Thread
problem with edit box - by vijay44 - 01-28-2010, 11:19 PM
RE: problem with edit box - by manabh - 01-29-2010, 10:23 AM
RE: problem with edit box - by sreekanth chilam - 01-29-2010, 01:23 PM
RE: problem with edit box - by vijay44 - 02-01-2010, 11:09 AM
RE: problem with edit box - by rajvanan - 02-01-2010, 12:34 PM
RE: problem with edit box - by vijay44 - 02-01-2010, 12:48 PM
RE: problem with edit box - by sreekanth chilam - 02-01-2010, 01:11 PM
RE: problem with edit box - by vijay44 - 02-01-2010, 02:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to edit a text in aParagraph shaan.mishra87@gmail.com 2 2,550 08-26-2016, 04:48 PM
Last Post: shaan.mishra87@gmail.com
  Auto complete for Web Edit box branjitk 2 5,923 12-20-2014, 09:31 PM
Last Post: supputuri
  Could not able to click on 'Edit' Button in a Table kotaramamohana 3 3,621 09-26-2012, 07:40 PM
Last Post: krr
  Unable to select an item from weblist and unable to enter text in edit box estherindu 5 9,579 05-15-2012, 12:07 AM
Last Post: viswa
  Microsoftoutlook 2003 Email from QTP Script waring box problem Uma 5 5,372 11-30-2011, 02:05 PM
Last Post: tirru

Forum Jump:


Users browsing this thread: 5 Guest(s)