Windows Vista Forums

How to create an object for WebEdit box?
  1. #1


    Mru Guest

    How to create an object for WebEdit box?

    I am using Createobject method but dont know which object to provide
    for webedit?



      My System SpecsSystem Spec

  2. #2


    mayayana Guest

    Re: How to create an object for WebEdit box?

    > I am using Createobject method but dont know which object to provide

    > for webedit?
    Maybe you should explain more. What's webedit?



      My System SpecsSystem Spec

  3. #3


    Mru Guest

    Re: How to create an object for WebEdit box?

    On Oct 1, 9:55*pm, "mayayana" <mayaXXy...@xxxxxx> wrote:

    > > I am using Createobject method but dont know which object to provide
    > > for webedit?
    >
    > * Maybe you should explain more. What's webedit?
    I am working in QTP. I think WebEdit i.e. webeidt box may not be a
    global object. It might be related to QTP.
    It is basically a TextBox. So the code with textbox will work with QTP.

      My System SpecsSystem Spec

  4. #4


    mayayana Guest

    Re: How to create an object for WebEdit box?

    >

    > Maybe you should explain more. What's webedit?
    I am working in QTP. I think WebEdit i.e. webeidt box may not be a
    global object. It might be related to QTP.
    It is basically a TextBox. So the code with textbox will work with QTP.

    And what's QTP? Why do you assume people
    know these things? Judging from the lack of
    responses it looks like nobody here knows what
    you're talking about. Whatever webedit and QTP
    are, they're not among the basic objects that
    most people can access via VBScript.



      My System SpecsSystem Spec

  5. #5


    Waseem Guest

    RE: How to create an object for WebEdit box?



    "Mru" wrote:

    > I am using Createobject method but dont know which object to provide
    > for webedit?
    >
    Try this,
    Set objWebEdit=description.Create()
    objWebEdit("micclass").value="WebEdit"
    objWebEdit("html tag").value="Input"
    objWebEdit("name").value="NameOfEditBox"

    'Get All Edit Boxes on the Page
    Set EditBoxes = Browser().Page().ChildObjects(objWebEdit)
    For i = 0 to EditBoxes.Count-1
    EditBoxes(i).Set "value"&i
    Next

      My System SpecsSystem Spec

How to create an object for WebEdit box? problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Create a New Object in PowerShell CCENT PowerShell 1 04 Mar 2010
Unable to create print object JohnBoy Vista print fax & scan 1 03 Jan 2010
error create object selector to create group or user Javier VFM Server General 0 28 Oct 2009
Can I Create an empty MetaFile Object in C#? Leon_Amirreza .NET General 0 27 Mar 2009
Error 429 : ActiveX component can't create object Brad Vista General 9 16 Mar 2007