コミュニティ

Cannot search for an element if the last page of the document is undefined.

Hi,

I am new to this tool. I am trying to process a multi page document.

When trying to test any element created in Flexi capture, I am getting below error:

"Page 1: Cannot search for an element if the last page of the document is undefined."

Has anyone come across such error?

Any help would be appreciated.

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

4件のコメント

  • Avatar
    Permanently deleted user

    Hi,

    While defining the layout, did you give the max number of pages count to more than 1 i.e around 10 or may be suiting to your requirement or number of pages.

    Let us know if this helps.

    Regards,

    Pavan H

    0
  • Avatar
    Permanently deleted user

    Hi,

    Also try to add the footer element and check if that works.

    Regards,

    Pavan H

    0
  • Avatar
    Permanently deleted user

    Thank you for your reply. 

    I have defined the document as multi-page and set up header and footer as well.

    When I am trying to individually test the element, I am getting that error.

    When I select all the pages and do a Match, it does identify the elements.

    I am not sure, if this is how it is suppose to work.

     

     

    0
  • Avatar
    Permanently deleted user

    Based on my experience this is how elements behave in multi page layout  :

    1. Unique Header is must , you should define child elements of header carefully and unique. If matching header is found on some other page then it treats that page as first page as well.

    2. Elements from first page can be tested individually as well (Ctrl+E) . However in this case it will not detect the elements from subsequent pages.

    3. You cannot test the subsequent pages individually (Ctrl+E). Reason : It will apply entire layout on that page and hypothesis will fail at Header element itself.

    4. However you unit test the element individually (Ctrl+T) . This will individually test the element and not against the complete hypothesis . 

    You are doing it correctly by selecting all the pages of document and then Match .

    0

サインインしてコメントを残してください。