This is a migrated thread and some comments may be shown as answers.

Comparing the values of two different sites

7 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gergana
Top achievements
Rank 1
Gergana asked on 17 Jul 2014, 02:42 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 same table 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 TestStudio?

Thank you in advance.

Best Regards,
Gergana

7 Answers, 1 is accepted

Sort by
0
Jerne
Top achievements
Rank 2
answered on 22 Jul 2014, 07:52 AM
Hello,

I think there is a simpler way how to do this, but how i would approach this is:
1.) keep extracting and checking the value from the site that changes every 30 second.
2.) as soon as the value would change, i would navigate to the other site and extract value from there and compare them.

It is not a perfect sollution, but i think it should work

0
Jerne
Top achievements
Rank 2
answered on 22 Jul 2014, 07:54 AM
My sollution was for when both sites update at same time. If only one updates, and the other is static, this wouldnt solve it.
If both update at different times, things could get complicated i think
0
Boyan Boev
Telerik team
answered on 22 Jul 2014, 12:49 PM
Hi Jerne,

I am glad to hear you have found a solution.

In case that both sites dynamically change the data you should find some static attribute to use for the verification.

Let us know if you need further help.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Jerne
Top achievements
Rank 2
answered on 22 Jul 2014, 01:30 PM
Hi Boyan, 
It was not me who was posting the question, it was Gergana, see First post again please.
I just posted how i would approach the problem.

Sorry if i misslead you with two posts.

0
Boyan Boev
Telerik team
answered on 22 Jul 2014, 01:44 PM
Hello,

@Jerne, please excuse me for misunderstanding and thank you for your input.

@Gergana, did Jerne's approach work for you? You should extract the value from the first table and compare it with the second table.

Here is an article which describes the process.

Let me know if this works for you.

Thank you.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Gergana
Top achievements
Rank 1
answered on 08 Aug 2014, 12:06 PM
Hi Boyan,

I’m not sure if Jerne’s suggestion helps because I saw another problem. One of the sites is developed by frames and some of them are not recognized by TestStudio (in Chrome browser – our application working only on Chrome).  I tried to fix my problem follow this article “http://docs.telerik.com/teststudio/user-guide/recording-tests/frames.aspx” but
the issue is still exists.

Do you know how we can fix this issue?

Thank you in advance!

Best Regards,
Gergana
0
Boyan Boev
Telerik team
answered on 13 Aug 2014, 10:23 AM
Hello Gergana,

Which version of Chrome do you use? We have some issues that was introduced when Google released Chrome 36. We have already released a fix. Please download and install our latest internal build 2014.2.807 to obtain the fix.

If the issue persists please send us the execution log.

Jing video demonstrating the issue may also help us to better understand what is happening.

Let me know if this helps.


Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Gergana
Top achievements
Rank 1
Answers by
Jerne
Top achievements
Rank 2
Boyan Boev
Telerik team
Gergana
Top achievements
Rank 1
Share this question
or