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
-~----------~----~----~----~------~----~------~--~---