fiuba08 / robotframework

Automatically exported from code.google.com/p/robotframework
Apache License 2.0
0 stars 0 forks source link

Google result in Robot returns different ranking list with Actual browser. #1706

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A. Environment:
- Win Vista 32 bits
- Google Chrome, Firefox up-to-date at this time

B. Code.
*** Test Cases ***
Rank
    Open Browser    http://www.google.com.vn    ff
    Input Text      name=q                   atdd framework
    Submit Search     
    Wait Until Element Is Visible   xpath=//div[@class='srg']/li[@class='g']

C. Steps:
1. Execute code
2. Observe Web-driver of Robot framework
3. Manual action the code: open browser - input 'atdd framework' - submit 
search.
4. Compare the result between Robot and manual.

C. Expected results:
1 Web-driver browser (Selenium2 library is imported in source file) is opened 
and inputed "atdd framework" in search form.
2. The Web-driver google display 10 results.
3. As normal
4. The ranking position and page ID are same as  

D. Actual results:
4. The ranking position is different.
Ex. 
Robot: 'Robot Framework - Google Code' rank at 3rd
Actual: 'Robot Framework - Google Code' rank at 6th

Original issue reported on code.google.com by daoquang...@gmail.com on 9 May 2014 at 6:49

GoogleCodeExporter commented 9 years ago
Dear daoquanghungGTVT,

Google result ranking is a cryptic business critical (for Google) algorithm 
that takes in to account the user profile and also depends on your location and 
servers and what not etc. - you can find more about google ranking system by 
googling it.

Anyway this is not a valid bug report for Robot Framework.

Original comment by mikko.ko...@gmail.com on 9 May 2014 at 8:47

GoogleCodeExporter commented 9 years ago
Hi Mikko,

 Thank for your care. Just make this issue clearly.

Because using Web_RF(Web opened by Robot Framework) and non-Web_RF(Web opened 
by natural browser) at same location and same keyword? but the result is 
different 

I don't think this issue relating to Google ranking method of GOOGLE. Would you 
like to  explain more than.

Thanks,
Hung.

Original comment by daoquang...@gmail.com on 9 May 2014 at 10:21

GoogleCodeExporter commented 9 years ago
Selenium uses a different user profile than what you are using.

On my machine the result will vary depending on browser and profile from 5-8th.

This is not a bug in Robot Framework - what you are experiencing is a very 
intelligent feature of google search engine. 
Robot Framework doesn't itself know anything about browsers or web testing - it 
uses other tools (Selenium2Library that uses internally Selenium) to connect to 
the browser.
What you are seeing are the results from a server of Google - this is not in 
anyway dependent on Robot Framework.
If you want more information than I suggest that you contact someone from 
Google.

Original comment by mikko.ko...@gmail.com on 9 May 2014 at 11:30