Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

Milena Paz
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

Krishnan Mahadevan
Any specific reason for reviving a 6 year old thread?

On Thu, Apr 19, 2018, 04:10 Milena Paz <[hidden email]> wrote:
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLk_3xDCD6EmRJJmRVX-ML3hemwTvRkfTmg6nSCSsaAZ0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

bharathi sriram
Hello,
I am a newbie too, but I think you should have an obj of class A instantiated in class B, to be able to call methods from A into B. Hope this helps you.



Sent from my iPhone

On Apr 18, 2018, at 7:16 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:

Any specific reason for reviving a 6 year old thread?

On Thu, Apr 19, 2018, 04:10 Milena Paz <[hidden email]> wrote:
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLk_3xDCD6EmRJJmRVX-ML3hemwTvRkfTmg6nSCSsaAZ0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/A20BECA5-8BD0-422C-97F1-5343D057DC97%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

Milena Paz
In reply to this post by Krishnan Mahadevan
Maybe because its online forever. Has selenium expired? no, it hasn't. Its still in use. If you don't want your comments to be timeless, don't post online. Else you can create your own site, then stop hosting it after 6 years. 

On Wed, Apr 18, 2018 at 10:16 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Any specific reason for reviving a 6 year old thread?

On Thu, Apr 19, 2018, 04:10 Milena Paz <[hidden email]> wrote:
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLk_3xDCD6EmRJJmRVX-ML3hemwTvRkfTmg6nSCSsaAZ0A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP94aRN4AQ4Pw5gLFtPrj5ruGp-ZAZyoYZUHJHVv0MmcgaVJcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

Krishnan Mahadevan
Still trying to understand what is the point that you are trying to drive at ? Please clarify

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Thu, Apr 19, 2018 at 6:45 PM, Milena Paz <[hidden email]> wrote:
Maybe because its online forever. Has selenium expired? no, it hasn't. Its still in use. If you don't want your comments to be timeless, don't post online. Else you can create your own site, then stop hosting it after 6 years. 

On Wed, Apr 18, 2018 at 10:16 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Any specific reason for reviving a 6 year old thread?

On Thu, Apr 19, 2018, 04:10 Milena Paz <[hidden email]> wrote:
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLk_3xDCD6EmRJJmRVX-ML3hemwTvRkfTmg6nSCSsaAZ0A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP94aRN4AQ4Pw5gLFtPrj5ruGp-ZAZyoYZUHJHVv0MmcgaVJcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLn6WzQ_Un-4tcxx_65Aa3FJ9-DoHMvrnQSkT2ZjPO6%3D0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

Milena Paz
Then keep reading.

On Thu, Apr 19, 2018, 9:18 AM ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Still trying to understand what is the point that you are trying to drive at ? Please clarify

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Thu, Apr 19, 2018 at 6:45 PM, Milena Paz <[hidden email]> wrote:
Maybe because its online forever. Has selenium expired? no, it hasn't. Its still in use. If you don't want your comments to be timeless, don't post online. Else you can create your own site, then stop hosting it after 6 years. 

On Wed, Apr 18, 2018 at 10:16 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Any specific reason for reviving a 6 year old thread?

On Thu, Apr 19, 2018, 04:10 Milena Paz <[hidden email]> wrote:
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLk_3xDCD6EmRJJmRVX-ML3hemwTvRkfTmg6nSCSsaAZ0A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP94aRN4AQ4Pw5gLFtPrj5ruGp-ZAZyoYZUHJHVv0MmcgaVJcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLn6WzQ_Un-4tcxx_65Aa3FJ9-DoHMvrnQSkT2ZjPO6%3D0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP94aRNfAz2wxwiegnu-QoahZacPf%2BsYC7xig6hfm9wY4i8htA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

Krishnan Mahadevan
Sure. Please keep posting as well !

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Thu, Apr 19, 2018 at 6:49 PM, Milena Paz <[hidden email]> wrote:
Then keep reading.

On Thu, Apr 19, 2018, 9:18 AM ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Still trying to understand what is the point that you are trying to drive at ? Please clarify

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Thu, Apr 19, 2018 at 6:45 PM, Milena Paz <[hidden email]> wrote:
Maybe because its online forever. Has selenium expired? no, it hasn't. Its still in use. If you don't want your comments to be timeless, don't post online. Else you can create your own site, then stop hosting it after 6 years. 

On Wed, Apr 18, 2018 at 10:16 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Any specific reason for reviving a 6 year old thread?

On Thu, Apr 19, 2018, 04:10 Milena Paz <[hidden email]> wrote:
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLk_3xDCD6EmRJJmRVX-ML3hemwTvRkfTmg6nSCSsaAZ0A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP94aRN4AQ4Pw5gLFtPrj5ruGp-ZAZyoYZUHJHVv0MmcgaVJcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLn6WzQ_Un-4tcxx_65Aa3FJ9-DoHMvrnQSkT2ZjPO6%3D0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP94aRNfAz2wxwiegnu-QoahZacPf%2BsYC7xig6hfm9wY4i8htA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZL%3Dmw3Ycndn2%2BUB4BoMWaW9F4CUfFSFzaJaU%3DBjBJN0wxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to call methods from One class in Another in TestNG + Eclipse , Please Help Me.

somasekhar patil
In reply to this post by Milena Paz
thank you


Somasekhar Patil



On Thu, Apr 19, 2018 at 6:45 PM, Milena Paz <[hidden email]> wrote:
Maybe because its online forever. Has selenium expired? no, it hasn't. Its still in use. If you don't want your comments to be timeless, don't post online. Else you can create your own site, then stop hosting it after 6 years. 

On Wed, Apr 18, 2018 at 10:16 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
Any specific reason for reviving a 6 year old thread?

On Thu, Apr 19, 2018, 04:10 Milena Paz <[hidden email]> wrote:
Mark Collin, 

Your response is not nice, friendly nor smart. If you don't know how you can help someone, you need to do some guidance training before jumping into a discussion such as this. 







On Monday, April 23, 2012 at 4:35:08 AM UTC-4, Mark Collin wrote:
If you don't know how to do this you either need to re-evaluate your choice of language bindings and looks at a programming language you understand, or you need to do some Java training before you jump in to automation with Selenium and Java.

Your question is about a basic a Java question as you can get.

On Saturday, 21 April 2012 11:55:23 UTC+1, pradeep kattekola wrote:
Dear Team,

As i am trying to call the methods of one class to another as java
code ,

I am getting error as java.lang.NullPointerException.

i have two classes  class A and class B.

I want to use the methods of class A in Class B.

can any one please help me out. I searched in google but not able to
find exact solution.

Help me to get out from this issue.


Regards,
Prathip

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b7a82464-f671-4d84-984d-f66786a18330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLk_3xDCD6EmRJJmRVX-ML3hemwTvRkfTmg6nSCSsaAZ0A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP94aRN4AQ4Pw5gLFtPrj5ruGp-ZAZyoYZUHJHVv0MmcgaVJcA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAO6YJjOmJd2kO6yMPsYFq6C28ca7GaDSbNsvtDa6vjwRi4%3Dcyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.