Results 1 to 4 of 4

Thread: Cannot identify the object "fromPort"

  1. #1
    Geek_Guest
    Guest

    Cannot identify the object "fromPort"

    I am running a parameterized test in QTP on the website http:// newtours . mercuryinteractive . com with parameters as city of "Departing From" field.
    The first iteration is running correctly but when the second iteration starts, it does not navigate to Find a Flight page. Instead it gives an error-"Cannot identify the object "fromPort" (of class WebList). Verify that this object's properties match an object currently displayed in your application."
    Any help in this regard is appreciated.

    Question asked by visitor Reena


  2. #2
    Contributing Member
    Join Date
    Aug 2007
    Answers
    59

    Re: Cannot identify the object "fromPort"

    You mentioned tht in second iteration Flight button is not enabled
    jus check u have parameterized for
    date fly_from fly_to column and data s are added in data table!!!


  3. #3

    Re: Cannot identify the object "fromPort"

    Try this:

    Browser("micClass:=Browser").Page("micClass:=Page").WebList("name:=fromPort").Select "SomeCity"


  4. #4
    Contributing Member
    Join Date
    Nov 2007
    Answers
    48

    Re: Cannot identify the object "fromPort"

    Anyway this problem only come when recorded object description is different from Actual Object Description.



    As you are a begginer, i would suggest you to re-record the script and parameterize the script properly. it will work.

    Make Sure that there is no blank row in datatable between two consecuitve rows. Make sure that initial conditions are meeting scriopts needs. Make sure that dynamic object is dynamic. if yes then use regular expressions, paratmeterize property value or exclude the dynamic property from Properties Description set.


    SYCHO


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact