Share
View previous topicGo downView next topic
Praful
Posts : 3
Join date : 2014-07-04

Selenium test Cases Execution

on Fri Jul 04, 2014 6:20 am
Hi, 
I am new to selenium and have never worked on selenium projects. Few days back I have given the interview(showing some selenium experience) and the following were asked to me to which I have no clue

1) How often you run selenium test cases?
2) Are the test cases run by clients or you?
3) How you manage selenium test cases are they centrally stored or on local computer?
 

I know everyone here must know answer for these question, please know what should be the answer which shows I have worked on selenium:P?
Naga
Posts : 1
Join date : 2014-07-10

Re: Selenium test Cases Execution

on Thu Jul 10, 2014 10:50 pm
1) Test cases are run based on if they are Regression Pack or smoke pack. If they are smoke pack they are run on every new build 
2) Test cases are mostly run by you
3) Test scripts are not stored in ur local pc. They will ahve to be stored ina central location to be run by jenkins/Hudson
Praful
Posts : 3
Join date : 2014-07-04

Re: Selenium test Cases Execution

on Thu Jul 10, 2014 10:56 pm
Naga wrote:1) Test cases are run based on if they are Regression Pack or smoke pack. If they are smoke pack they are run on every new build 
2) Test cases are mostly run by you
3) Test scripts are not stored in ur local pc. They will ahve to be stored ina central location to be run by jenkins/Hudson

Thanks a million naga for your response,
I was struggling to get the answer for these questions.
can you also answer 
4) what type of framework u used in selenium in the project?
5) What was the automation project process? (ex. Like u get MTC and den u create scripts...)
ravindarreddy.nalla
Posts : 5
Join date : 2014-07-19

Re: Selenium test Cases Execution

on Sat Jul 19, 2014 12:38 am
4) what type of framework u used in selenium in the project?

We can user below framework on selenium based on your project/application requirement 
 1. Data Driven Framework
2. Keyword Framework
3. Hybrid Framework (Data Driven + Keyword) 


What was the automation project process? 



1) Identifying automation scenarios 2) Develop Automation 
Test scripts based on scenario 3) Execution of Automation scripts 4) Generate reports and send to client.
Praful
Posts : 3
Join date : 2014-07-04

Re: Selenium test Cases Execution

on Sat Jul 19, 2014 12:41 am
Thanks reddy,
Can you please also explain how test scripts are stored and run ?
ravindarreddy.nalla
Posts : 5
Join date : 2014-07-19

Re: Selenium test Cases Execution

on Wed Jul 23, 2014 1:42 pm
Hi Praful,

You can write test cases as methods and call those test cases by creating objects in main class

Call the main class from TestNG file. See below example and let me know if need more help.

Example :Main class :  class FunctionalTestcase  {

@Test
public void testcase1(){

subclassobject. testmethod01()
}

@Test
public void Testcase2(){

subclasobject.testmethod02()
}

}


Call the FunctionalTestcase in testNG file. after that resule would get in email-output.html page.
Sponsored content

Re: Selenium test Cases Execution

View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum