I am using Createobject method but dont know which object to provide
for webedit?
I am using Createobject method but dont know which object to provide
for webedit?
> I am using Createobject method but dont know which object to provideMaybe you should explain more. What's webedit?
> for webedit?
On Oct 1, 9:55*pm, "mayayana" <mayaXXy...@xxxxxx> wrote:I am working in QTP. I think WebEdit i.e. webeidt box may not be a>
> > I am using Createobject method but dont know which object to provide
> > for webedit?
> * Maybe you should explain more. What's webedit?
global object. It might be related to QTP.
It is basically a TextBox. So the code with textbox will work with QTP.
>I am working in QTP. I think WebEdit i.e. webeidt box may not be a
> Maybe you should explain more. What's webedit?
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.
"Mru" wrote:
Try this,
> I am using Createobject method but dont know which object to provide
> for webedit?
>
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
| 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 |