How to create jar or flag for username and password in selenium

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

How to create jar or flag for username and password in selenium

monika16jha .
Hi team,



How to create jar for username and password or need to create flag for username and password.

Please help.

--
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/92d36e8d-3a9c-4f30-9a32-6c8d9175bf36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to create jar or flag for username and password in selenium

Krishnan Mahadevan
It's not clear what you are asking. Can you please elaborate more on what you are trying to do ?

Selenium is not involved in creation of jars. That would be typically done by build tools such as maven or gradle 

On Tue 31 Jul, 2018, 13:38 monika16jha, <[hidden email]> wrote:
Hi team,



How to create jar for username and password or need to create flag for username and password.

Please help.

--
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/92d36e8d-3a9c-4f30-9a32-6c8d9175bf36%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/CANikZLkffdkpTnOCx%3D0HRFvz4AdMCcnJ_WtDPSjjE1cKj1nM5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to create jar or flag for username and password in selenium

monika16jha .
below is the requirement so team suggested to create jar for this:

here login and password are using multiple times for different methods.

Current state: Data for each test must be repeated for each test which can lead to unexpected discrepancies and requires excessive effort to maintain.

Desired state: Each test method can receive a reference to the data it needs, so that data is only defined once and there is only one place to change data so that it's easier to maintain and impossible to introduce discrepancies.


On Tue, Jul 31, 2018 at 1:44 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
It's not clear what you are asking. Can you please elaborate more on what you are trying to do ?

Selenium is not involved in creation of jars. That would be typically done by build tools such as maven or gradle 


On Tue 31 Jul, 2018, 13:38 monika16jha, <[hidden email]> wrote:
Hi team,



How to create jar for username and password or need to create flag for username and password.

Please help.

--
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/92d36e8d-3a9c-4f30-9a32-6c8d9175bf36%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/CANikZLkffdkpTnOCx%3D0HRFvz4AdMCcnJ_WtDPSjjE1cKj1nM5g%40mail.gmail.com.

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



--



Thanks and Regards,

Monika Jha

--
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/CAGHNrZJRijZUCVN6JMBfaNE-EO63tkhMSQa782YJpsUH8GnbEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to create jar or flag for username and password in selenium

Krishnan Mahadevan
It's still not clear as to how selenium is involved here. What you are asking for looks like a use case for a data driven method in a test framework such as TestNG. 

So you might want to post your query on the TestNG users Google forum with more info including what code you have so far and where you are stuck and need help. 

On Tue 31 Jul, 2018, 13:48 monika16jha ., <[hidden email]> wrote:
below is the requirement so team suggested to create jar for this:

here login and password are using multiple times for different methods.

Current state: Data for each test must be repeated for each test which can lead to unexpected discrepancies and requires excessive effort to maintain.

Desired state: Each test method can receive a reference to the data it needs, so that data is only defined once and there is only one place to change data so that it's easier to maintain and impossible to introduce discrepancies.


On Tue, Jul 31, 2018 at 1:44 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
It's not clear what you are asking. Can you please elaborate more on what you are trying to do ?

Selenium is not involved in creation of jars. That would be typically done by build tools such as maven or gradle 


On Tue 31 Jul, 2018, 13:38 monika16jha, <[hidden email]> wrote:
Hi team,



How to create jar for username and password or need to create flag for username and password.

Please help.

--
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/92d36e8d-3a9c-4f30-9a32-6c8d9175bf36%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].

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



--



Thanks and Regards,

Monika Jha

--
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/CAGHNrZJRijZUCVN6JMBfaNE-EO63tkhMSQa782YJpsUH8GnbEQ%40mail.gmail.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/CANikZLkDXMzQc2rKYMU2pom8vyyNhYffuDMMOtGAV1AbbC1c6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to create jar or flag for username and password in selenium

monika16jha .
I posted there but didn't get any reply yet.


===================================
Hi Naveen,

How can i create utility and resuse the same. Please share some details.


On Tue, Jul 31, 2018 at 1:53 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
It's still not clear as to how selenium is involved here. What you are asking for looks like a use case for a data driven method in a test framework such as TestNG. 

So you might want to post your query on the TestNG users Google forum with more info including what code you have so far and where you are stuck and need help. 

On Tue 31 Jul, 2018, 13:48 monika16jha ., <[hidden email]> wrote:
below is the requirement so team suggested to create jar for this:

here login and password are using multiple times for different methods.

Current state: Data for each test must be repeated for each test which can lead to unexpected discrepancies and requires excessive effort to maintain.

Desired state: Each test method can receive a reference to the data it needs, so that data is only defined once and there is only one place to change data so that it's easier to maintain and impossible to introduce discrepancies.


On Tue, Jul 31, 2018 at 1:44 PM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
It's not clear what you are asking. Can you please elaborate more on what you are trying to do ?

Selenium is not involved in creation of jars. That would be typically done by build tools such as maven or gradle 


On Tue 31 Jul, 2018, 13:38 monika16jha, <[hidden email]> wrote:
Hi team,



How to create jar for username and password or need to create flag for username and password.

Please help.

--
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/92d36e8d-3a9c-4f30-9a32-6c8d9175bf36%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].

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



--



Thanks and Regards,

Monika Jha

--
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/CAGHNrZJRijZUCVN6JMBfaNE-EO63tkhMSQa782YJpsUH8GnbEQ%40mail.gmail.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/CANikZLkDXMzQc2rKYMU2pom8vyyNhYffuDMMOtGAV1AbbC1c6Q%40mail.gmail.com.

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



--



Thanks and Regards,

Monika Jha

--
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/CAGHNrZK9bFHYixAP7kaqdVm_EZ_M7NNBfJ_g%2BKBy_SJDuozcMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.