We can't input any null value we can only check value available or not.

On Tue, Jun 30, 2009 at 11:32 PM, tjzguo <[email protected]> wrote:

>
> Object is null means Object has null value. So how do you input a null
> value into a EditBox(TextBox)?
>
>
>
>
> On Jun 29, 6:57 pm, Swapna <[email protected]> wrote:
> > Hi
> >
> > I am working on verifying the value of the object which is null.
> >
> > The code as below:
> >
> > gPostPrice = Browser("Market Reports - Price").Page("Market Reports -
> > Price").WebEdit("priceEntry.priceEntryLines[3].poste").GetROProperty
> > ("value")
> > msgbox gPostPrice
> > If IsNull(gPostPrice) Then
> > msgbox("entering if")
> > Else
> > msgbox("entering else")
> > End If
> >
> > The value of the object is BLANK so I considered as Null (which I may
> > be wrong)
> >
> > Now, when I put the if condition, the msgbox with "entering else" is
> > displayed.
> >
> > What am I doing wrong? Please help..........
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to