Hi .
Can any one help me.
I have a page where they are some fields ex name. and a preview button.
where all the field that are filled in the first page will appear. where I
want to test whether all the fields that I have filled
are appearing correctly in preview page or not.
First I am recording all the fields. Then I am verify the values .For time
it is working fine.
But if i parameterize then it is not working

In the preview page the fields are appearing as web elements and
the property for the web element  in the Object repositories  are stored as
it appeared for the first one instance(In my case as titan).
I am unable to parametrice this as it is showing an error message.

Can any one help me solve this



Rem    This is first page
browser("xxxx").Page("xxxxx |").WebList("product").Select "Titan"
X = browser("xxx").Page("xxxxx
|").WebList("product").GetROProperty("selection")
Browser("xxx").Page("xxxxxx |").WebButton("Next").Click


Rem   This is in preview page
y =
browser("Sxxxxxx").Page("xxxxxxxx_3").WebElement("Titan").GetROProperty(("Innerhtml"))

rem to check whethere the give input for the product is displayed in the
preview page

If x = y Then
msgbox "it is working fine"
else
msgbox "it is not working"
End If


-- 
Regards

Shashidhar
+91 -8125564879
[email protected]

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