Forum Discussion

Shane's avatar
Shane
New Contributor
6 years ago

Form

Hi Guys

I am very new at this and getting an issue when rerunning my tests, the pages that i dont have a problem with is when the ObjectType = Page but when its ObjectType = Form & action = is a "url". Test Complete is unable to find this page.

 

  • Shane's avatar
    Shane
    6 years ago

    Hey Robert

     

    Thanks for getting back to me, I was describing what i have in NameMapping but i have figured out a solution.

     

    before = http://{local url}/Batch/ValidateOneTimePinAndProcess/{id}?integration={method}

    after = http://{local url}/Batch/ValidateOneTimePinAndProcess/*?integration=*

     

    very new at automation and only started on this tool in the last 3 weeks. So creating templates for the guys to use for new projects.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    I'm not sure I understand what you're doing.  Are you describing what you have in NameMapping?  Or are you doing some sort of XPath finding?

     

    Please share your code so we can see how you're executing.

     

    It would also be helpful if you could post screen shots of how the desired object shows up in the object browser.

    • Shane's avatar
      Shane
      New Contributor

      Hey Robert

       

      Thanks for getting back to me, I was describing what i have in NameMapping but i have figured out a solution.

       

      before = http://{local url}/Batch/ValidateOneTimePinAndProcess/{id}?integration={method}

      after = http://{local url}/Batch/ValidateOneTimePinAndProcess/*?integration=*

       

      very new at automation and only started on this tool in the last 3 weeks. So creating templates for the guys to use for new projects.