Pagination issue

Hello,

I am new to RPA so I have a use case where I am getting an issue someone can help me?

My use case is I have a webpage with table-like structure consisting of different columns like name, document type, number extra… I want to navigate from page one to the next page and check if it has successfully navigated to the next page.

my solution was
Firstly I used get Text activity to get the document name of the first entry and stored it in variable called first name then I clicked the next button and use get text to get the entry of the first element of the second page and stored in another variable called second name.
Then I used If to check if both values are same or not.
Now I get issue that my both variable value are coming same so my if case is failing.

Hope someone can help me. Thanks

1 Like

Hi @akansha.pandey
Could u please Snap some image of your issues, or
share your Xaml for more reference

Thanks
Harivishnu

Hi,
In Condition use Below

firstDocName.tostring.trim.equals(secondDocName.tostring.trim)

Thanks
Harivishnu

Hi @anon88744563 ,
Thanks for your answer but it is still not working. The issue is my secondDocName and firstDocName value are coming the same ie NEU_39…

Hi @akansha.pandey
Could u please Share your .xaml

Thanks
Harivishnu

Hi @anon88744563
Even if I provide the xaml, you will not be able to access the site. Apologies.

Thanks
Akansha

Hi,
i dont need to Access…just try to find the Issue?

Hi @anon88744563 ,
Its working now I used delay before second get text, I guess the page refresh took time. Thank you for your time

Thanks
Akansha

Hi @akansha.pandey

Actually u have to Enable Wait for ready in Every Activies such as

image

Bcz the Selectors need to Find the Element upto the Element appears on the Page.
so
Click, get text Activity property panel, u need to Click Complete on tehe WaitFor Ready Option

If the Problem Solved… kindly give Solved by Harivishnu

Thanks
Harivishnu

Hi @akansha.pandey
There is no need of Delay Activity . it will take time for process…
Use Waitfor ready Option for Better Perfomance

Thanks
Harivishnu

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.