Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Need help on TestNg Framework
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sita maram  
View profile  
 More options Feb 13, 1:46 am
From: sita maram <maram.a...@gmail.com>
Date: Mon, 13 Feb 2012 12:16:38 +0530
Local: Mon, Feb 13 2012 1:46 am
Subject: Need help on TestNg Framework

Hi,

can any one Please help on TestNg framework, i developed one framework like
testng with data driven framework, in that we are taking data from excel
sheet,but my requirement demands to pass the data from flat files like
.properties files and suggest me on testng listeners implementation.

--
*Thanks and Regards,*
*M.Sitaramireddy.*


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kumar  
View profile  
 More options Feb 13, 1:54 am
From: kumar <skswamy1...@gmail.com>
Date: Mon, 13 Feb 2012 12:24:57 +0530
Local: Mon, Feb 13 2012 1:54 am
Subject: Re: [selenium-users] Need help on TestNg Framework

Hi

Please check the URL this is user friendly process

http://testerinyou.blogspot.in/2010/10/how-to-do-data-driven-testing-...

Thanks
Swamy S

--
*Thanks&Regards*
Kumara Swamy S
Cell :9849008954

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Varun Menon  
View profile  
 More options Feb 13, 8:37 am
From: Varun Menon <menon1...@gmail.com>
Date: Mon, 13 Feb 2012 05:37:34 -0800 (PST)
Local: Mon, Feb 13 2012 8:37 am
Subject: Re: Need help on TestNg Framework
It depends upon how you had developed your framework and how flexible
you had made it.
For ex. If you are using the @DataDrive command of testng and you are
providing the data to it in the form of object array. You just have to
change the said function to read data from .properties file and then
send it across to your test-case.
A sample of DataDrive in TestNg can be found on the following link:

http://blog.varunin.com/2010/10/dataprovider-in-testng.html

You can modify the code of the DataProvider method to fetch the data
from the type of file you want to be used in your test-case.

@Swamy - The link shared by you does not actually give a proper way of
doing a Data-driven testing. If we go by the approach mentioned in the
link, the tests will fail to execute in case any of the data gives you
a failure. Also in the reports you will get only one result even when
you are doing an execution for different type of data set.

Regards
Varun
http://blog.varunin.com

On Feb 13, 11:54 am, kumar <skswamy1...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »