Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

getting info from mysql database

View previous topic View next topic Go down

getting info from mysql database

Post by zlos7ar on Fri Feb 17, 2012 4:52 pm

What I need to do is:

I am testing a website where users can submit different ideas on a specific subject. On the home page I have a
with the most discussed ideas ( ideas with the most comments). The thing is that the function for the most discussed ideas takes the top 10 ideas and randomly display 3 of them on the home page. So I was wondering how can I make a test for that, because the only way to get that information for the ideas is from the database and also how can I handle with the random part ?

I hope some of you guys have an idea. Even if you are not sure you can post your proposal so we can discuss it together and find a solution. Is it even possible to extract information form the database with selenium ?

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

Re: getting info from mysql database

Post by ccox on Sat Feb 18, 2012 1:35 am

I don't believe with Selenium IDE that you can extract any info from a DB. Even using a custom command in the user-extension.js file, I think you would have to somehow interface it with a web method, which could use a programming language of some sort to get to the DB. (I asked some developers and this is basically what I gathered.) If there is a way though, I would love to know how.

I am still a little confused as to what you are actually trying to test though.

Are you testing the randomizing, the content of these ideas, the number of comments, etc.? There may be ways to test what you are trying to do without going directly to the DB.


ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

Re: getting info from mysql database

Post by zlos7ar on Mon Feb 20, 2012 3:24 pm

I am trying to test if the 3 random ideas I get are 3 of the top 10 with most comments. Thanks for the info I will try to solve this when I have some more free time for it and if I find a solution I will post it here.

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

Re: getting info from mysql database

Post by Sponsored content Today at 6:09 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum