Comparing the values of two different sites

Ask general questions here.
Gergana
Posts: 6
Joined: Fri Jul 25, 2014 1:58 pm

Comparing the values of two different sites

Post by Gergana » Fri Jul 25, 2014 2:18 pm

Hello,

We just start test automation for one of our clients and we have the following problems.
We want to compare the values of tables in two different sites. We need to get them from site 1 and check if they are the same in site 2.
Another problem is that one of the columns contains dynamic values which are updated in 30sec.
Do you think that this can be done with Ranorex?

Thank you in advance.

Best Regards,
Gergana

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Comparing the values of two different sites

Post by krstcs » Fri Jul 25, 2014 4:02 pm

It will require some work on your part, but it most definitely can be done.

As for the updates, Ranorex can capture the values. However, Ranorex is a functional UI test automation tool, not a real-time value validator, so, while it can be done, it will require some extra work. You would need to grab the data at a specific point (or points) from both the UI and the source (DB, file, etc.) and compare each set. This would probably need to be done in user-code.
Shortcuts usually aren't...

Gergana
Posts: 6
Joined: Fri Jul 25, 2014 1:58 pm

Re: Comparing the values of two different sites

Post by Gergana » Wed Jul 30, 2014 1:45 pm

Hello krstcs,

Thanks for your answer.

I’m not sure how I can get values from one site and store them in an excel file. I tried to capture values by recording and get the Inner Text but as I can see it can be done only for validation. Could you please help me with this?

Thanks in advance.

Best Regards,
Gergana