Hello Vinay,
Could you please help me with the Mercury Tours test.
I follow all the steps in the tutorial, but Mercury Tours test fails anyway.
:-(
I'm the beginner.
The error: "Can't identify the object "fromPort"
Cannot identify the object "fromMonth" (of class WebList). Verify that this
object's properties match an object currently displayed in your application.
Line (5): "Browser("Welcome: Mercury Tours").Page("Find a Flight:
Mercury").WebList("fromMonth").Select "December""
and it's continue, the same error: "fromDay", "toPort", "toMonth", "today",
"findFlights"....
Here is the script.
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit(
"userName").Set "'tutorial'"
Browser("Welcome: Mercury Tours").Sync
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList(
"fromPort").Select "New York" @@ hightlight id_;_Browser("Welcome: Mercury
Tours").Page("Find a Flight: Mercury").WebList("fromPort")_;_script
infofile_;_ZIP::ssf1.xml_;_
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList(
"fromMonth").Select "December" @@ hightlight id_;_Browser("Welcome: Mercury
Tours").Page("Find a Flight: Mercury").WebList("fromMonth")_;_script
infofile_;_ZIP::ssf2.xml_;_
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList(
"fromDay").Select "29" @@ hightlight id_;_Browser("Welcome: Mercury Tours")
.Page("Find a Flight: Mercury").WebList("fromDay")_;_script
infofile_;_ZIP::ssf3.xml_;_
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList(
"toPort").Select "San Francisco" @@ hightlight id_;_Browser("Welcome:
Mercury Tours").Page("Find a Flight: Mercury").WebList("toPort")_;_script
infofile_;_ZIP::ssf4.xml_;_
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList(
"toMonth").Select "December" @@ hightlight id_;_Browser("Welcome: Mercury
Tours").Page("Find a Flight: Mercury").WebList("toMonth")_;_script
infofile_;_ZIP::ssf5.xml_;_
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList(
"toDay").Select "31" @@ hightlight id_;_Browser("Welcome: Mercury Tours")
.Page("Find a Flight: Mercury").WebList("toDay")_;_script
infofile_;_ZIP::ssf6.xml_;_
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image(
"findFlights").Click 5,5 @@ hightlight id_;_Browser("Welcome: Mercury Tours"
).Page("Find a Flight: Mercury").Image("findFlights")_;_script
infofile_;_ZIP::ssf7.xml_;_
Browser("Welcome: Mercury Tours").Sync
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Sync
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Sync
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit(
"password").SetSecure "5313def86238f1f12c525ecbd129a47d106e11b1b288"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image(
"Sign-In").Click
Thank you, Vinay!
>>
--
--
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
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.